]> git.baikalelectronics.ru Git - kernel.git/commit
e1000e: Fix Runtime PM blocks EEE link negotiation in S5
authorDavid Ertman <david.m.ertman@intel.com>
Fri, 11 Jul 2014 06:21:31 +0000 (06:21 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 26 Jul 2014 04:15:20 +0000 (21:15 -0700)
commita7a54e1ec70ec4fd7f4ac19cf8dd09a95f9919c7
tree9d63b4275f2a973060a1ebfb4353e6082d8b5610
parentf830c4fce9b5c128934c64698ca561928ea6faba
e1000e: Fix Runtime PM blocks EEE link negotiation in S5

Adding a function, and associated calls, to flush writes to (read) the LPIC
MAC register before entering the shutdown flow.  This fixes the problem
of the PHY never negotiating a 100M link (if both sides of the link support
EEE and 100M link) when Runtime PM is enabled.

Signed-off-by: Dave Ertman <david.m.ertman@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/netdev.c