ar71xx: fix TL-WR941ND v6 switch PHY mask

Fixes #550
This commit is contained in:
Matthias Schiffer 2015-11-08 20:48:17 +01:00
parent 7028c0e113
commit 0b77bee3d7
1 changed files with 2 additions and 4 deletions

View File

@ -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);