aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/leon/patches-2.6.36/018-greth_compat_mode.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/018-greth_compat_mode.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/018-greth_compat_mode.patch')
-rw-r--r--target/linux/leon/patches-2.6.36/018-greth_compat_mode.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/target/linux/leon/patches-2.6.36/018-greth_compat_mode.patch b/target/linux/leon/patches-2.6.36/018-greth_compat_mode.patch
deleted file mode 100644
index 4afe89eb07..0000000000
--- a/target/linux/leon/patches-2.6.36/018-greth_compat_mode.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From a498d7076ee0f82ec3f508293a9cf1ccba15829e Mon Sep 17 00:00:00 2001
-From: Daniel Hellstrom <daniel@gaisler.com>
-Date: Wed, 1 Dec 2010 16:52:19 +0100
-Subject: [PATCH] GRETH: added greth_compat_mode module parameter
-
-The greth_compat_mode option can be used to set a GRETH GBit capable MAC
-in operate as if the GRETH 10/100 device was found. The GRETH GBit supports
-TCP/UDP checksum offloading, unaligned frame buffers, scatter gather etc.
-Enabling this mode allows the developer to test the GRETH 10/100 device
-without all features mentioned above on a GBit MAC capable of the above.
-
-Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
----
- drivers/net/greth.c | 9 +++++++++
- 1 files changed, 9 insertions(+), 0 deletions(-)
-
---- a/drivers/net/greth.c
-+++ b/drivers/net/greth.c
-@@ -70,6 +70,11 @@ static int no_gbit = 0;
- module_param(no_gbit, int, S_IRUGO);
- MODULE_PARM_DESC(no_gbit, "GRETH report GBit not supported by MAC enable. Only affects GRETH GBit MAC, default 0 (off).");
-
-+/* Use this option to enable GRETH 10/100 code on GRETH_GBIT hardware (debug legacy code option) */
-+static int compat_mode = 0;
-+module_param(compat_mode, int, S_IRUGO);
-+MODULE_PARM_DESC(compat_mode, "GRETH 10/100 legacy mode enable. Only affects GRETH GBit MAC, default 0 (off).");
-+
- static int greth_open(struct net_device *dev);
- static netdev_tx_t greth_start_xmit(struct sk_buff *skb,
- struct net_device *dev);
-@@ -1452,6 +1457,10 @@ static int __devinit greth_of_probe(stru
- else
- greth->gbit_phy_support = 0;
-
-+ /* Force GBit MAC in legacy 10/100 mode (no offloading etc.) */
-+ if (compat_mode == 1)
-+ greth->gbit_mac = 0;
-+
- /* Check for multicast capability */
- greth->multicast = (tmp >> 25) & 1;
-