Skip to contentSkip to conversation

tg3: Fix supporting flowctrl code

PATCH David Miller 1 participant 1 message Dec 21, 2007 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 1198191608.0@teletran1

David Miller

author maintainer Applied
#1 lore raw

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 the tg3_setup_fiber_mii_phy() function to account for this new use case. And finally, it does the same for tg3_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.

Applied.