summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.24/0052-atl1c-fix-issue-of-transmit-queue-0-timed-out.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.24/0052-atl1c-fix-issue-of-transmit-queue-0-timed-out.patch')
-rw-r--r--recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.24/0052-atl1c-fix-issue-of-transmit-queue-0-timed-out.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.24/0052-atl1c-fix-issue-of-transmit-queue-0-timed-out.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.24/0052-atl1c-fix-issue-of-transmit-queue-0-timed-out.patch
new file mode 100644
index 00000000..92f5a277
--- /dev/null
+++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.24/0052-atl1c-fix-issue-of-transmit-queue-0-timed-out.patch
@@ -0,0 +1,42 @@
1From 0e6bee2eb164145946ea6ca49c4fd1e02c7177fa Mon Sep 17 00:00:00 2001
2From: Cloud Ren <cjren@qca.qualcomm.com>
3Date: Tue, 3 Jul 2012 16:51:48 +0000
4Subject: [PATCH 052/109] atl1c: fix issue of transmit queue 0 timed out
5
6commit b94e52f62683dc0b00c6d1b58b80929a078c0fd5 upstream.
7
8some people report atl1c could cause system hang with following
9kernel trace info:
10---------------------------------------
11WARNING: at.../net/sched/sch_generic.c:258 dev_watchdog+0x1db/0x1d0()
12...
13NETDEV WATCHDOG: eth0 (atl1c): transmit queue 0 timed out
14...
15---------------------------------------
16This is caused by netif_stop_queue calling when cable Link is down.
17So remove netif_stop_queue, because link_watch will take it over.
18
19Signed-off-by: xiong <xiong@qca.qualcomm.com>
20Signed-off-by: Cloud Ren <cjren@qca.qualcomm.com>
21Signed-off-by: David S. Miller <davem@davemloft.net>
22[bwh: Backported to 3.2: adjust context]
23Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
24---
25 drivers/net/ethernet/atheros/atl1c/atl1c_main.c | 1 -
26 1 files changed, 0 insertions(+), 1 deletions(-)
27
28diff --git a/drivers/net/ethernet/atheros/atl1c/atl1c_main.c b/drivers/net/ethernet/atheros/atl1c/atl1c_main.c
29index eccdcff..5ae7df7 100644
30--- a/drivers/net/ethernet/atheros/atl1c/atl1c_main.c
31+++ b/drivers/net/ethernet/atheros/atl1c/atl1c_main.c
32@@ -267,7 +267,6 @@ static void atl1c_check_link_status(struct atl1c_adapter *adapter)
33 dev_warn(&pdev->dev, "stop mac failed\n");
34 atl1c_set_aspm(hw, false);
35 netif_carrier_off(netdev);
36- netif_stop_queue(netdev);
37 atl1c_phy_reset(hw);
38 atl1c_phy_init(&adapter->hw);
39 } else {
40--
411.7.7.6
42