From 0b77bee3d7ce19696dec8f88922afadfe45a5fa8 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 8 Nov 2015 20:48:17 +0100 Subject: [PATCH] ar71xx: fix TL-WR941ND v6 switch PHY mask Fixes #550 --- ...rt-for-TP-LINK-TL-WR941ND-v6-international-version.patch | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/patches/openwrt/0036-ar71xx-add-support-for-TP-LINK-TL-WR941ND-v6-international-version.patch b/patches/openwrt/0036-ar71xx-add-support-for-TP-LINK-TL-WR941ND-v6-international-version.patch index e1e3b5a2..8bc91f15 100644 --- a/patches/openwrt/0036-ar71xx-add-support-for-TP-LINK-TL-WR941ND-v6-international-version.patch +++ b/patches/openwrt/0036-ar71xx-add-support-for-TP-LINK-TL-WR941ND-v6-international-version.patch @@ -100,10 +100,10 @@ index e9b3c7c..84b5844 100644 CONFIG_ATH79_MACH_UBNT_XM=y diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr941nd-v6.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr941nd-v6.c new file mode 100644 -index 0000000..55b4c00 +index 0000000..8c788e2 --- /dev/null +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr941nd-v6.c -@@ -0,0 +1,151 @@ +@@ -0,0 +1,149 @@ +/* + * TP-LINK TL-WR941N/ND v6 board support + * @@ -243,8 +243,6 @@ index 0000000..55b4c00 + ath79_init_mac(ath79_eth1_data.mac_addr, mac, -1); + + ath79_switch_data.phy4_mii_en = 1; -+ ath79_switch_data.phy_poll_mask = BIT(0); -+ ath79_eth0_data.phy_mask = BIT(0); + + ath79_register_eth(0); + ath79_register_eth(1);