]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
net: Move flow control definitions to mii.h
authorSteve Glendinning <steve.glendinning@smsc.com>
Tue, 16 Dec 2008 10:00:00 +0000 (02:00 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Dec 2008 10:00:00 +0000 (02:00 -0800)
commite18ce3465477502108187c6c08b6423fb784a313
tree7bc788dff1b580e959d51b764e9dd2f78c00a43d
parentf9867328f9e1c3fceb8593f84b980aa1d648ce9c
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>
drivers/net/smsc911x.h
drivers/net/smsc9420.h
drivers/net/tg3.c
drivers/net/tg3.h
drivers/net/usb/smsc95xx.c
include/linux/mii.h