summaryrefslogtreecommitdiffstats
path: root/drivers/net/smsc9420.h
diff options
context:
space:
mode:
authorSteve Glendinning <steve.glendinning@smsc.com>2008-12-16 11:00:00 +0100
committerDavid S. Miller <davem@davemloft.net>2008-12-16 11:00:00 +0100
commite18ce3465477502108187c6c08b6423fb784a313 (patch)
tree7bc788dff1b580e959d51b764e9dd2f78c00a43d /drivers/net/smsc9420.h
parentsimeth: convert to net_device_ops (diff)
downloadlinux-e18ce3465477502108187c6c08b6423fb784a313.tar.xz
linux-e18ce3465477502108187c6c08b6423fb784a313.zip
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/smsc9420.h')
-rw-r--r--drivers/net/smsc9420.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/smsc9420.h b/drivers/net/smsc9420.h
index 80c426dc4325..69c351f93f86 100644
--- a/drivers/net/smsc9420.h
+++ b/drivers/net/smsc9420.h
@@ -45,9 +45,6 @@
#define SMSC9420_EEPROM_SIZE ((u32)11)
-#define FLOW_CTRL_TX (1)
-#define FLOW_CTRL_RX (2)
-
#define PKT_BUF_SZ (VLAN_ETH_FRAME_LEN + NET_IP_ALIGN + 4)
/***********************************************/