commit | bc02ff95fe4ebd3e5ee7455c0aa6f76ebe39ebca | [log] [tgz] |
---|---|---|
author | Steve Glendinning <steve.glendinning@smsc.com> | Tue Dec 16 02:00:48 2008 -0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Dec 16 02:00:48 2008 -0800 |
tree | 675887b8007a53464e84b9da2f7b54a77fab035a | |
parent | e18ce3465477502108187c6c08b6423fb784a313 [diff] |
net: Refactor full duplex flow control resolution 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>