]> git.baikalelectronics.ru Git - kernel.git/commit
e1000e: update workaround for 82579 intermittently disabled during S0->Sx
authorBruce Allan <bruce.w.allan@intel.com>
Fri, 16 Dec 2011 00:46:33 +0000 (00:46 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 27 Jan 2012 02:25:37 +0000 (18:25 -0800)
commit4c124f6db16a84b40088f0ffe51e465d1a74ae37
tree2a17ff1a58f5bedd73790b4585fb3d2368bdd69c
parentc508db3da2cd0648fc5298e90a9d15aa8a77ae2e
e1000e: update workaround for 82579 intermittently disabled during S0->Sx

The workaround which toggles the LANPHYPC (LAN PHY Power Control) value bit
to force the MAC-Phy interconnect into PCIe mode from SMBus mode during
driver load and resume should always be done except if PHY resets are
blocked by the Manageability Engine (ME).  Previously, the toggle was done
only if PHY resets are blocked and the ME was disabled.

The rest of the patch is just indentation changes as a consequence of the
updated workaround.

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