net: Refactor full duplex flow control resolution
authorSteve Glendinning <steve.glendinning@smsc.com>
Tue, 16 Dec 2008 10:00:48 +0000 (02:00 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Dec 2008 10:00:48 +0000 (02:00 -0800)
These 4 drivers have identical full duplex flow control resolution
functions.  This patch changes them all to use one common function.

The function in question decides whether a device should enable TX and
RX flow control in a standard way (IEEE 802.3-2005 table 28B-3), so this
should also be useful for other drivers.

Signed-off-by: Steve Glendinning <steve.glendinning@smsc.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found