]> git.karo-electronics.de Git - karo-tx-linux.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)
commit92fe173391b3e0d0a7212fa8b9d72c8d61f31c26
tree771b64c35f3c2d5f32908f93516de130e20060cb
parent3c5e979bd037888dd7d722da22da4b43659af485
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