aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/smsc911x.h
diff options
context:
space:
mode:
authorSteve Glendinning <steve.glendinning@smsc.com>2008-12-16 05:00:00 -0500
committerDavid S. Miller <davem@davemloft.net>2008-12-16 05:00:00 -0500
commite18ce3465477502108187c6c08b6423fb784a313 (patch)
tree7bc788dff1b580e959d51b764e9dd2f78c00a43d /drivers/net/smsc911x.h
parentf9867328f9e1c3fceb8593f84b980aa1d648ce9c (diff)
net: Move flow control definitions to mii.h
flags used within drivers for indicating tx and rx flow control are defined in 4 drivers (and probably more), move these constants to mii.h. The 3 SMSC drivers use the same constants (FLOW_CTRL_TX), but TG3 uses TG3_FLOW_CTRL_TX, so this patch also renames the constants within TG3. Signed-off-by: Steve Glendinning <steve.glendinning@smsc.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/smsc911x.h')
-rw-r--r--drivers/net/smsc911x.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/smsc911x.h b/drivers/net/smsc911x.h
index f818cf0415f..2b76654bb95 100644
--- a/drivers/net/smsc911x.h
+++ b/drivers/net/smsc911x.h
@@ -61,9 +61,6 @@
61#define SMSC_ASSERT_MAC_LOCK(pdata) do {} while (0) 61#define SMSC_ASSERT_MAC_LOCK(pdata) do {} while (0)
62#endif /* CONFIG_DEBUG_SPINLOCK */ 62#endif /* CONFIG_DEBUG_SPINLOCK */
63 63
64#define FLOW_CTRL_TX (1)
65#define FLOW_CTRL_RX (2)
66
67/* SMSC911x registers and bitfields */ 64/* SMSC911x registers and bitfields */
68#define RX_DATA_FIFO 0x00 65#define RX_DATA_FIFO 0x00
69 66