tg3: Fix supporting flowctrl code
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): 1198191608.0@teletran1
From: "Matt Carlson" <[email protected]>
Date: Thu, 20 Dec 2007 15:00:08 -0800
Quoted 6 lines
This patch does three things. It modifies
tg3_setup_flow_control()to use the administrator requested flow control settings if autonegotiation is turned off. It slightly modifies thetg3_setup_fiber_mii_phy()function to account for this new use case. And finally, it does the same fortg3_setup_copper_phy().
Quoted 8 lines
The copper modifications are more than a small multi-line change. The new code makes an attempt to avoid a link renegotiation if the link is active at half duplex and the only difference between the current advertised settings and requested advertised settings is the flow control advertisements.
Signed-off-by Matt Carlson <[email protected]>Signed-off-by Michael Chan <[email protected]>
Applied.