]> git.baikalelectronics.ru Git - kernel.git/commit
e1000e: 82577/8/9 issues with device in Sx
authorBruce Allan <bruce.w.allan@intel.com>
Wed, 22 Sep 2010 17:15:08 +0000 (17:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Sep 2010 03:41:18 +0000 (20:41 -0700)
commit37771146820d9e43b8e41717496727adc12385b3
tree176950114d1368f87949026d626690031e85628f
parentbbe527113b035336fcfecf1720ef3793ce60637c
e1000e: 82577/8/9 issues with device in Sx

When going to Sx, disable gigabit in PHY (e1000_oem_bits_config_ich8lan)
in addition to the MAC before configuring PHY wakeup otherwise the PHY
configuration writes might be missed.  Also write the LED configuration
and SMBus address to the PHY registers (e1000_oem_bits_config_ich8lan and
e1000_write_smbus_addr, respectively).  The reset is no longer needed
since re-auto-negotiation is forced in e1000_oem_bits_config_ich8lan and
leaving it in causes issues with auto-negotiating the link.

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>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000e/ich8lan.c