]> www.infradead.org Git - users/jedix/linux-maple.git/commit
e1000e: issues in Sx on 82577/8/9
authorJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 07:58:35 +0000 (15:58 +0800)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 07:58:35 +0000 (15:58 +0800)
commit0c0778cafa5f4477866ae84a6d42304c8aa01e44
tree4efe1fff9648a1f95b211afe9df93a6a8f438839
parent4bbdc29b914c9c90f6b3b01a66e2d94aabde90bc
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.

(backported from commit 92fe173391b3e0d0a7212fa8b9d72c8d61f31c26)
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>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/e1000e/ich8lan.c