summaryrefslogtreecommitdiff
path: root/target/linux/leon/patches-2.6.36/026-greth_gbit_mac_set_ee_when_edcl.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/026-greth_gbit_mac_set_ee_when_edcl.patch
parent539e0b5b8418cac13b7f0b68254ebc2f8e1b40f7 (diff)
downloadmtk-20170518-c41002971aeecd78e93ce553028f7cc01c4de777.zip
mtk-20170518-c41002971aeecd78e93ce553028f7cc01c4de777.tar.gz
mtk-20170518-c41002971aeecd78e93ce553028f7cc01c4de777.tar.bz2
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/026-greth_gbit_mac_set_ee_when_edcl.patch')
-rw-r--r--target/linux/leon/patches-2.6.36/026-greth_gbit_mac_set_ee_when_edcl.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/target/linux/leon/patches-2.6.36/026-greth_gbit_mac_set_ee_when_edcl.patch b/target/linux/leon/patches-2.6.36/026-greth_gbit_mac_set_ee_when_edcl.patch
deleted file mode 100644
index 94fa0bd..0000000
--- a/target/linux/leon/patches-2.6.36/026-greth_gbit_mac_set_ee_when_edcl.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 50fcb51c42bc721f18f1bfa10f705519cd344a2a Mon Sep 17 00:00:00 2001
-From: Daniel Hellstrom <daniel@gaisler.com>
-Date: Wed, 1 Dec 2010 16:20:01 +0100
-Subject: [PATCH] GRETH: Newer GBit MACs need setting EE bit when EDCL should be enabled
-
----
- drivers/net/greth.c | 2 +-
- drivers/net/greth.h | 1 +
- 2 files changed, 2 insertions(+), 1 deletions(-)
-
---- a/drivers/net/greth.c
-+++ b/drivers/net/greth.c
-@@ -1511,7 +1511,7 @@ static int __devinit greth_of_probe(stru
- /* If we have EDCL we disable the EDCL speed-duplex FSM so
- * it doesn't interfere with the software */
- if (greth->edcl != 0)
-- GRETH_REGORIN(regs->control, GRETH_CTRL_DISDUPLEX);
-+ GRETH_REGORIN(regs->control, GRETH_CTRL_DISDUPLEX|GRETH_CTRL_EE);
-
- /* Check if MAC can handle MDIO interrupts */
- greth->mdio_int_en = (tmp >> 26) & 1;
---- a/drivers/net/greth.h
-+++ b/drivers/net/greth.h
-@@ -15,6 +15,7 @@
- #define GRETH_CTRL_PSTATIEN 0x400
- #define GRETH_CTRL_MCEN 0x800
- #define GRETH_CTRL_DISDUPLEX 0x1000
-+#define GRETH_CTRL_EE 0x4000
- #define GRETH_STATUS_PHYSTAT 0x100
-
- #define GRETH_BD_EN 0x800