summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2010-12-08 08:59:31 +0000
committerImre Kaloz <kaloz@openwrt.org>2010-12-08 08:59:31 +0000
commitf586bb26dd25e07e0d124049d1c60ae30368ad80 (patch)
treef86862e3c0fd08e6a875ccd43a2231096a1204a1 /target/linux
parent48b953fa1c8afbd8bb4f1db00d6b2b40c8beee9e (diff)
downloadmtk-20170518-f586bb26dd25e07e0d124049d1c60ae30368ad80.zip
mtk-20170518-f586bb26dd25e07e0d124049d1c60ae30368ad80.tar.gz
mtk-20170518-f586bb26dd25e07e0d124049d1c60ae30368ad80.tar.bz2
ethernet driver fixup for ppc4xx
SVN-Revision: 24328
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/generic/patches-2.6.36/988-ibm_newemac_remove_netif_stop_queue.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/target/linux/generic/patches-2.6.36/988-ibm_newemac_remove_netif_stop_queue.patch b/target/linux/generic/patches-2.6.36/988-ibm_newemac_remove_netif_stop_queue.patch
new file mode 100644
index 0000000..15d1983
--- /dev/null
+++ b/target/linux/generic/patches-2.6.36/988-ibm_newemac_remove_netif_stop_queue.patch
@@ -0,0 +1,26 @@
+From 811718f071bbd337a823b2827ca3ea2b7205d162 Mon Sep 17 00:00:00 2001
+From: David S. Miller <davem@davemloft.net>
+Date: Mon, 1 Nov 2010 08:49:51 -0700
+Subject: [PATCH] ibm_newemac: Remove netif_stop_queue() in emac_probe().
+
+Touching the queue state before register_netdev is not
+allowed, and besides the queue state before ->open()
+is "don't care"
+
+Reported-by: Josh Boyer <jwboyer@gmail.com>
+Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
+Signed-off-by: David S. Miller <davem@davemloft.net>
+---
+ drivers/net/ibm_newemac/core.c | 1 -
+ 1 files changed, 0 insertions(+), 1 deletions(-)
+
+--- a/drivers/net/ibm_newemac/core.c
++++ b/drivers/net/ibm_newemac/core.c
+@@ -2871,7 +2871,6 @@ static int __devinit emac_probe(struct p
+ SET_ETHTOOL_OPS(ndev, &emac_ethtool_ops);
+
+ netif_carrier_off(ndev);
+- netif_stop_queue(ndev);
+
+ err = register_netdev(ndev);
+ if (err) {