]> git.baikalelectronics.ru Git - kernel.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)
commit969a2be4ae889465240b10954eef0848687130cf
tree6b9b398d4631c96783af1805b01491726ae00df4
parentf87b67cbd63c50afe340bb79246b1e778eb6d4cc
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