summaryrefslogtreecommitdiffstats
path: root/master/tpl3040-fix-ethernet
diff options
context:
space:
mode:
authorJames <>2014-02-11 11:49:23 +0000
committerJames <>2014-02-11 11:49:23 +0000
commitdb7d33cfd7ed93c1c4a58320589b142f4348284a (patch)
tree77f663c3b4f4e968c70ffe94bfa9db2f4d70bc6c /master/tpl3040-fix-ethernet
downloadtrunk-36060-pq-master.tar.gz
trunk-36060-pq-master.tar.bz2
trunk-36060-pq-master.zip
Diffstat (limited to 'master/tpl3040-fix-ethernet')
-rw-r--r--master/tpl3040-fix-ethernet19
1 files changed, 19 insertions, 0 deletions
diff --git a/master/tpl3040-fix-ethernet b/master/tpl3040-fix-ethernet
new file mode 100644
index 0000000..c95820b
--- /dev/null
+++ b/master/tpl3040-fix-ethernet
@@ -0,0 +1,19 @@
+diff --git a/target/linux/ar71xx/patches-3.8/999-0-fix-ethernet b/target/linux/ar71xx/patches-3.8/999-0-fix-ethernet
+new file mode 100644
+index 0000000..6c087b4
+--- /dev/null
++++ b/target/linux/ar71xx/patches-3.8/999-0-fix-ethernet
+@@ -0,0 +1,13 @@
++Index: linux-3.8.3/arch/mips/ath79/mach-tl-mr11u.c
++===================================================================
++--- linux-3.8.3.orig/arch/mips/ath79/mach-tl-mr11u.c
+++++ linux-3.8.3/arch/mips/ath79/mach-tl-mr11u.c
++@@ -143,7 +146,7 @@ static void __init common_setup(void)
++ AR933X_GPIO_FUNC_ETH_SWITCH_LED2_EN);
++
++ /* disable PHY_SWAP and PHY_ADDR_SWAP bits */
++- ath79_setup_ar933x_phy4_switch(false, false);
+++ ath79_setup_ar933x_phy4_switch(false, true);
++
++ register_mtd_user(&spi_notifier);
++