summaryrefslogtreecommitdiffstats
path: root/master/tpl3040-fix-ethernet
diff options
context:
space:
mode:
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);
++