e1000e: WoL can fail on 82578DM
authorBruce Allan <bruce.w.allan@intel.com>
Fri, 30 Sep 2011 08:07:05 +0000 (08:07 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 6 Oct 2011 10:15:27 +0000 (03:15 -0700)
commit03299e46c9e857b885bf66c47bebc1bcac5dba55
tree403ebafc8a7c016dd4789c51e4a442b7c74360fb
parentf0cd7bdc042310b6b104f133bbfd520a72b3c08a
e1000e: WoL can fail on 82578DM

During suspend, the PHY must be reset for workaround updates to take effect
without restarting auto-negotiation.  Also, set the disable GbE and enable
Low Power Link Up (LPLU) if the EEPROM is configured to do likewise in
either D0 or non-D0a instead of just the latter.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e1000e/ich8lan.c