aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/greth.h
diff options
context:
space:
mode:
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>2011-04-16 20:15:47 -0400
committerDavid S. Miller <davem@davemloft.net>2011-04-17 20:47:36 -0400
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 @@
77 */ 77 */
78#define MAX_FRAME_SIZE 1520 78#define MAX_FRAME_SIZE 1520
79 79
80/* Flags */
81#define GRETH_FLAG_RX_CSUM 0x1
82
83/* GRETH APB registers */ 80/* GRETH APB registers */
84struct greth_regs { 81struct greth_regs {
85 u32 control; 82 u32 control;
@@ -133,7 +130,6 @@ struct greth_private {
133 unsigned int duplex; 130 unsigned int duplex;
134 131
135 u32 msg_enable; 132 u32 msg_enable;
136 u32 flags;
137 133
138 u8 phyaddr; 134 u8 phyaddr;
139 u8 multicast; 135 u8 multicast;