From db7d33cfd7ed93c1c4a58320589b142f4348284a Mon Sep 17 00:00:00 2001 From: James <> Date: Tue, 11 Feb 2014 11:49:23 +0000 Subject: fish --- master/tpl3040-fix-ethernet | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 master/tpl3040-fix-ethernet (limited to 'master/tpl3040-fix-ethernet') 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); ++ -- cgit v1.2.3