summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.22/0013-e1000e-Remove-special-case-for-82573-82574-ASPM-L1-d.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.22/0013-e1000e-Remove-special-case-for-82573-82574-ASPM-L1-d.patch')
-rw-r--r--recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.22/0013-e1000e-Remove-special-case-for-82573-82574-ASPM-L1-d.patch43
1 files changed, 43 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.22/0013-e1000e-Remove-special-case-for-82573-82574-ASPM-L1-d.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.22/0013-e1000e-Remove-special-case-for-82573-82574-ASPM-L1-d.patch
new file mode 100644
index 00000000..3eeacc05
--- /dev/null
+++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.22/0013-e1000e-Remove-special-case-for-82573-82574-ASPM-L1-d.patch
@@ -0,0 +1,43 @@
1From 51d8e7091033042d3ae09363abe5e93d0698930e Mon Sep 17 00:00:00 2001
2From: Chris Boot <bootc@bootc.net>
3Date: Tue, 24 Apr 2012 07:24:58 +0000
4Subject: [PATCH 13/46] e1000e: Remove special case for 82573/82574 ASPM L1
5 disablement
6
7commit 59aed95263bdd0e2b48eb9be5a94346d2d4abf90 upstream.
8
9For the 82573, ASPM L1 gets disabled wholesale so this special-case code
10is not required. For the 82574 the previous patch does the same as for
11the 82573, disabling L1 on the adapter. Thus, this code is no longer
12required and can be removed.
13
14Signed-off-by: Chris Boot <bootc@bootc.net>
15Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
16Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
17Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
18---
19 drivers/net/ethernet/intel/e1000e/netdev.c | 8 --------
20 1 file changed, 8 deletions(-)
21
22diff --git a/drivers/net/ethernet/intel/e1000e/netdev.c b/drivers/net/ethernet/intel/e1000e/netdev.c
23index 4e933d1..64d3f98 100644
24--- a/drivers/net/ethernet/intel/e1000e/netdev.c
25+++ b/drivers/net/ethernet/intel/e1000e/netdev.c
26@@ -5132,14 +5132,6 @@ static int e1000_change_mtu(struct net_device *netdev, int new_mtu)
27 return -EINVAL;
28 }
29
30- /* 82573 Errata 17 */
31- if (((adapter->hw.mac.type == e1000_82573) ||
32- (adapter->hw.mac.type == e1000_82574)) &&
33- (max_frame > ETH_FRAME_LEN + ETH_FCS_LEN)) {
34- adapter->flags2 |= FLAG2_DISABLE_ASPM_L1;
35- e1000e_disable_aspm(adapter->pdev, PCIE_LINK_STATE_L1);
36- }
37-
38 while (test_and_set_bit(__E1000_RESETTING, &adapter->state))
39 usleep_range(1000, 2000);
40 /* e1000e_down -> e1000e_reset dependent on max_frame_size & mtu */
41--
421.7.10
43