]> git.baikalelectronics.ru Git - kernel.git/commit
e1000e: Add code to check for failure of pci_disable_link_state call
authorCarolyn Wyborny <carolyn.wyborny@intel.com>
Sat, 3 Aug 2013 01:53:54 +0000 (01:53 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 22 Aug 2013 09:33:15 +0000 (02:33 -0700)
commitb07a0fc0dacc5f70a5160b31ddff629f29812b45
treea671b41dd5bd68931529172f634612a77f813bad
parentab3e48523f211b8d3143619fcf8f2572681f5925
e1000e: Add code to check for failure of pci_disable_link_state call

This patch attempts to work around a problem found with some systems where
the call to pci_diable_link_state_locked() fails.  As a result, ASPM is not,
in fact, disabled.  Changing disable ASPM code to check if state actually
is disabled after the call and, if not, try another way to disable it.

Signed-off-by: Carolyn Wyborny <carolyn.wyborny@intel.com>
Acked-by: Bruce W. Allan <bruce.w.allan@intel.com>
Tested-by: Pavel Machek <pavel@ucw.cz>
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