]> git.baikalelectronics.ru Git - kernel.git/commit
e1000e: issues in Sx on 82577/8/9
authorBruce Allan <bruce.w.allan@intel.com>
Thu, 12 Apr 2012 06:27:03 +0000 (06:27 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 14 Apr 2012 08:45:54 +0000 (01:45 -0700)
commit818777af6a853e22bb14fa6e05a65d9eb9a47de6
tree771b64c35f3c2d5f32908f93516de130e20060cb
parent1d57fc1959947394b96e1dd63372480e64bf026a
e1000e: issues in Sx on 82577/8/9

A workaround was previously put in the driver to reset the device when
transitioning to Sx in order to activate the changed settings of the PHY
OEM bits (Low Power Link Up, or LPLU, and GbE disable configuration) for
82577/8/9 devices.  After further review, it was found such a reset can
cause the 82579 to confuse which version of 82579 it actually is and broke
LPLU on all 82577/8/9 devices.  The workaround during an S0->Sx transition
on 82579 (instead of resetting the PHY) is to restart auto-negotiation
after the OEM bits are configured; the restart of auto-negotiation
activates the new OEM bits as does the reset.  With 82577/8, the reset is
changed to a generic reset which fixes the LPLU bits getting set wrong.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e1000e/ich8lan.c