]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
e1000e: Incorrect function pointer set for force_speed_duplex on 82577
authorBruce Allan <bruce.w.allan@intel.com>
Mon, 10 May 2010 15:01:30 +0000 (15:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 May 2010 06:31:12 +0000 (23:31 -0700)
commiteab50ffb222808b5053a82325be3e5d26faa08df
tree6b9b398d4631c96783af1805b01491726ae00df4
parent8b802a7e94c2ed9c6032a88b3ab9860c55cd6378
e1000e: Incorrect function pointer set for force_speed_duplex on 82577

The force_speed_duplex function pointer was incorrectly set.  Instead of
calling the 82577-specific version it was calling the m88 version which,
among other incorrect things, reset the PHY causing autonegotiation to be
re-enabled in the PHY resulting in the link defaulting to half-duplex.
The 82577-specific force_speed_duplex function also had an issue where
it disabled Auto-MDI-X which caused the link to not come up.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000e/ich8lan.c
drivers/net/e1000e/phy.c