e1000e: reset MAC-PHY interconnect on 82577/82578 during Sx->S0
authorBruce Allan <bruce.w.allan@intel.com>
Wed, 5 May 2010 22:00:06 +0000 (22:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 May 2010 08:31:28 +0000 (01:31 -0700)
commit6dfaa76994e5d49a82afb415bbe1362e901b2b95
treeab1629de17f4d8763343b6d53ee58a674bb7d2e4
parentffb273623bc506d854902a415ef241b79232f93a
e1000e: reset MAC-PHY interconnect on 82577/82578 during Sx->S0

During Sx->S0 transitions, the interconnect between the MAC and PHY on
82577/82578 can remain in SMBus mode instead of transitioning to the
PCIe-like mode required during normal operation.  Toggling the LANPHYPC
Value bit essentially resets the interconnect forcing it to the correct
mode.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000e/defines.h
drivers/net/e1000e/ich8lan.c