aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/leon/patches-2.6.36/019-greth_fix_open_close.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-02-04 15:23:08 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-02-04 15:23:08 +0000
commitc41002971aeecd78e93ce553028f7cc01c4de777 (patch)
treeaa18d6a89012476e264a618387ecef653a3c0a7d /target/linux/leon/patches-2.6.36/019-greth_fix_open_close.patch
parent539e0b5b8418cac13b7f0b68254ebc2f8e1b40f7 (diff)
downloadupstream-c41002971aeecd78e93ce553028f7cc01c4de777.tar.gz
upstream-c41002971aeecd78e93ce553028f7cc01c4de777.tar.bz2
upstream-c41002971aeecd78e93ce553028f7cc01c4de777.zip
leon: R.I.P.
It is broken since ~9 months and nobody takes care of that. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35488
Diffstat (limited to 'target/linux/leon/patches-2.6.36/019-greth_fix_open_close.patch')
-rw-r--r--target/linux/leon/patches-2.6.36/019-greth_fix_open_close.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/target/linux/leon/patches-2.6.36/019-greth_fix_open_close.patch b/target/linux/leon/patches-2.6.36/019-greth_fix_open_close.patch
deleted file mode 100644
index fffb39133a..0000000000
--- a/target/linux/leon/patches-2.6.36/019-greth_fix_open_close.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 6216bc809c5bdd586b14d096fbaf6dc25574b928 Mon Sep 17 00:00:00 2001
-From: Daniel Hellstrom <daniel@gaisler.com>
-Date: Wed, 1 Dec 2010 09:59:14 +0100
-Subject: [PATCH] GRETH: fix opening/closing
-
-When NAPI is disabled there is no point in having IRQs enabled, TX/RX
-should be off before clearing the TX/RX descriptor rings.
-
-Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
----
- drivers/net/greth.c | 4 ++++
- 1 files changed, 4 insertions(+), 0 deletions(-)
-
---- a/drivers/net/greth.c
-+++ b/drivers/net/greth.c
-@@ -365,6 +365,8 @@ static int greth_open(struct net_device
- dev_dbg(&dev->dev, " starting queue\n");
- netif_start_queue(dev);
-
-+ GRETH_REGSAVE(greth->regs->status, 0xFF);
-+
- napi_enable(&greth->napi);
-
- greth_enable_irqs(greth);
-@@ -380,7 +382,9 @@ static int greth_close(struct net_device
-
- napi_disable(&greth->napi);
-
-+ greth_disable_irqs(greth);
- greth_disable_tx(greth);
-+ greth_disable_rx(greth);
-
- netif_stop_queue(dev);
-