diff options
author | Steve Glendinning <steve.glendinning@smsc.com> | 2008-12-16 05:00:00 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-16 05:00:00 -0500 |
commit | e18ce3465477502108187c6c08b6423fb784a313 (patch) | |
tree | 7bc788dff1b580e959d51b764e9dd2f78c00a43d /drivers/net/usb | |
parent | f9867328f9e1c3fceb8593f84b980aa1d648ce9c (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/usb')
-rw-r--r-- | drivers/net/usb/smsc95xx.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/usb/smsc95xx.c b/drivers/net/usb/smsc95xx.c index 4638a7bb471e..ee2eac3047b3 100644 --- a/drivers/net/usb/smsc95xx.c +++ b/drivers/net/usb/smsc95xx.c | |||
@@ -45,8 +45,6 @@ | |||
45 | #define SMSC95XX_INTERNAL_PHY_ID (1) | 45 | #define SMSC95XX_INTERNAL_PHY_ID (1) |
46 | #define SMSC95XX_TX_OVERHEAD (8) | 46 | #define SMSC95XX_TX_OVERHEAD (8) |
47 | #define SMSC95XX_TX_OVERHEAD_CSUM (12) | 47 | #define SMSC95XX_TX_OVERHEAD_CSUM (12) |
48 | #define FLOW_CTRL_TX (1) | ||
49 | #define FLOW_CTRL_RX (2) | ||
50 | 48 | ||
51 | struct smsc95xx_priv { | 49 | struct smsc95xx_priv { |
52 | u32 mac_cr; | 50 | u32 mac_cr; |