parent
7028c0e113
commit
0b77bee3d7
@ -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
|
|||||||
+ 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);
|
||||||
|
Loading…
Reference in New Issue
Block a user