]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit13129d9b6183bf93b005ed9ad0eb46122794fe21
treea671b41dd5bd68931529172f634612a77f813bad
parent0cf04597b46513d253178acabe451e230dd51ecd
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