projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6bd557
)
e1000e: Disable ASPM L1 on 82574
author
Chris Boot
<
[email protected]
>
Tue, 24 Apr 2012 07:24:52 +0000
(07:24 +0000)
committer
Jeff Kirsher
<
[email protected]
>
Thu, 3 May 2012 09:31:22 +0000
(
02:31
-0700)
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 <
[email protected]
>
Cc: "Wyborny, Carolyn" <
[email protected]
>
Cc: Nix <
[email protected]
>
Link:
https://lkml.org/lkml/2012/3/19/362
Tested-by: Jeff Pieper <
[email protected]
>
Signed-off-by: Jeff Kirsher <
[email protected]
>
drivers/net/ethernet/intel/e1000e/82571.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/intel/e1000e/82571.c
b/drivers/net/ethernet/intel/e1000e/82571.c
index 98632f4561b26de4da8db8acd5b3f36cab70f53a..6a8a908f92b813fbe6838f5222161691bcd381c6 100644
(file)
--- a/
drivers/net/ethernet/intel/e1000e/82571.c
+++ b/
drivers/net/ethernet/intel/e1000e/82571.c
@@
-2072,8
+2072,9
@@
const struct e1000_info e1000_82574_info = {
| FLAG_HAS_SMART_POWER_DOWN
| FLAG_HAS_AMT
| FLAG_HAS_CTRLEXT_ON_LOAD,
- .flags2
= FLAG2_CHECK_PHY_HANG
+ .flags2 = FLAG2_CHECK_PHY_HANG
| FLAG2_DISABLE_ASPM_L0S
+ | FLAG2_DISABLE_ASPM_L1
| FLAG2_NO_DISABLE_RX
| FLAG2_DMA_BURST,
.pba = 32,