e1000e: Disable ASPM L1 on 82574
commit7b4e7391a0430be7e1a5c4acaf3e16ed268ebb35
authorChris Boot <bootc@bootc.net>
Tue, 24 Apr 2012 07:24:52 +0000 (24 07:24 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 4 Jul 2012 04:44:12 +0000 (4 05:44 +0100)
tree4116cf0d197296735e808a1b43f664e719543a12
parentdbc50a3f8f5575a8559621524f40a0e7f1d64907
e1000e: Disable ASPM L1 on 82574

commit id d4a4206ebbaf48b55803a7eb34e330530d83a889

ASPM on the 82574 causes trouble. Currently the driver disables L0s for
this NIC but only disables L1 if the MTU is >1500. This patch simply
causes L1 to be disabled regardless of the MTU setting.

Signed-off-by: Chris Boot <bootc@bootc.net>
Cc: "Wyborny, Carolyn" <carolyn.wyborny@intel.com>
Cc: Nix <nix@esperi.org.uk>
Link: https://lkml.org/lkml/2012/3/19/362
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
[Jeff Kirsher: Backport to 3.2-3.4 kernels]
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/net/ethernet/intel/e1000e/82571.c