Skip to content
Snippets Groups Projects
Commit 0b77bee3 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

ar71xx: fix TL-WR941ND v6 switch PHY mask

Fixes #550
parent 7028c0e1
No related branches found
No related tags found
No related merge requests found
...@@ -100,10 +100,10 @@ index e9b3c7c..84b5844 100644 ...@@ -100,10 +100,10 @@ index e9b3c7c..84b5844 100644
CONFIG_ATH79_MACH_UBNT_XM=y 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 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 new file mode 100644
index 0000000..55b4c00 index 0000000..8c788e2
--- /dev/null --- /dev/null
+++ b/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
@@ -0,0 +1,151 @@ @@ -0,0 +1,149 @@
+/* +/*
+ * TP-LINK TL-WR941N/ND v6 board support + * TP-LINK TL-WR941N/ND v6 board support
+ * + *
...@@ -243,8 +243,6 @@ index 0000000..55b4c00 ...@@ -243,8 +243,6 @@ index 0000000..55b4c00
+ ath79_init_mac(ath79_eth1_data.mac_addr, mac, -1); + ath79_init_mac(ath79_eth1_data.mac_addr, mac, -1);
+ +
+ ath79_switch_data.phy4_mii_en = 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(0);
+ ath79_register_eth(1); + ath79_register_eth(1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment