summaryrefslogtreecommitdiff
path: root/drivers/net/greth.h
diff options
context:
space:
mode:
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>2011-04-17 00:15:47 +0000
committerDavid S. Miller <davem@davemloft.net>2011-04-17 17:47:36 -0700
commit131ae329702755d897c6072c7839086b0702fb10 (patch)
tree0183b6116a1e8ddf66c19d88ff6590bc2b4c898e /drivers/net/greth.h
parent3cd8ef4b6071834fd432bbccbec0611591908643 (diff)
net: greth: convert to hw_features
Note: Driver modifies its struct net_device_ops. This will break if used for multiple devices that are not all the same (if that HW config is possible). Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/greth.h')
-rw-r--r--drivers/net/greth.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/greth.h b/drivers/net/greth.h
index be0f2062bd14..9a0040dee4da 100644
--- a/drivers/net/greth.h
+++ b/drivers/net/greth.h
@@ -77,9 +77,6 @@
*/
#define MAX_FRAME_SIZE 1520
-/* Flags */
-#define GRETH_FLAG_RX_CSUM 0x1
-
/* GRETH APB registers */
struct greth_regs {
u32 control;
@@ -133,7 +130,6 @@ struct greth_private {
unsigned int duplex;
u32 msg_enable;
- u32 flags;
u8 phyaddr;
u8 multicast;