aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux')
-rwxr-xr-xtarget/linux/ath79/base-files/etc/board.d/01_leds2
-rwxr-xr-xtarget/linux/ath79/base-files/etc/board.d/02_network4
-rw-r--r--target/linux/ath79/dts/ar9331_tl-wr740nd-v4.dts2
-rw-r--r--target/linux/ath79/dts/ar9331_tl-wr741nd-v4.dts2
4 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/ath79/base-files/etc/board.d/01_leds b/target/linux/ath79/base-files/etc/board.d/01_leds
index 6f1bdc6eaf..5cb8e13963 100755
--- a/target/linux/ath79/base-files/etc/board.d/01_leds
+++ b/target/linux/ath79/base-files/etc/board.d/01_leds
@@ -64,7 +64,7 @@ case "$board" in
;;
"tplink,tl-wr741nd-v4"|\
"tplink,tl-wr740nd-v4")
- ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth1"
+ ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth0"
ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x04"
ucidef_set_led_switch "lan2" "LAN2" "tp-link:green:lan2" "switch0" "0x08"
ucidef_set_led_switch "lan3" "LAN3" "tp-link:green:lan3" "switch0" "0x10"
diff --git a/target/linux/ath79/base-files/etc/board.d/02_network b/target/linux/ath79/base-files/etc/board.d/02_network
index 0bc187a245..b7c2213d56 100755
--- a/target/linux/ath79/base-files/etc/board.d/02_network
+++ b/target/linux/ath79/base-files/etc/board.d/02_network
@@ -85,9 +85,9 @@ ath79_setup_interfaces()
"tplink,tl-wr741nd-v4"|\
"tplink,tl-wr740nd-v4")
- ucidef_set_interfaces_wan "eth1"
+ ucidef_set_interfaces_wan "eth0"
ucidef_add_switch "switch0" \
- "0@eth0" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1"
+ "0@eth1" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1"
;;
"tplink,tl-wr841n-v9")
ucidef_set_interface_wan "eth0"
diff --git a/target/linux/ath79/dts/ar9331_tl-wr740nd-v4.dts b/target/linux/ath79/dts/ar9331_tl-wr740nd-v4.dts
index b0029b88b6..583716308d 100644
--- a/target/linux/ath79/dts/ar9331_tl-wr740nd-v4.dts
+++ b/target/linux/ath79/dts/ar9331_tl-wr740nd-v4.dts
@@ -5,5 +5,5 @@
/ {
model = "TP-Link TL-WR740N/ND v4";
- compatible = "tplink,tl-wr740n-v4";
+ compatible = "tplink,tl-wr740nd-v4";
};
diff --git a/target/linux/ath79/dts/ar9331_tl-wr741nd-v4.dts b/target/linux/ath79/dts/ar9331_tl-wr741nd-v4.dts
index 118831b4d2..ef68cc7d22 100644
--- a/target/linux/ath79/dts/ar9331_tl-wr741nd-v4.dts
+++ b/target/linux/ath79/dts/ar9331_tl-wr741nd-v4.dts
@@ -5,5 +5,5 @@
/ {
model = "TP-Link TL-WR741N/ND v4";
- compatible = "tplink,tl-wr741n-v4";
+ compatible = "tplink,tl-wr741nd-v4";
};