diff options
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/01_leds | 13 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/02_network | 2 | ||||
-rw-r--r-- | target/linux/ramips/base-files/etc/diag.sh | 2 |
3 files changed, 17 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds index 61f662b496..61fbf0f3f3 100755 --- a/target/linux/ramips/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/base-files/etc/board.d/01_leds @@ -336,6 +336,19 @@ tiny-ac) set_wifi_led "$board:orange:wifi" set_usb_led "$board:green:usb" ;; +tl-wr840n-v4) + set_wifi_led "$board:green:wlan" + ucidef_set_led_switch "lan" "lan" "$board:green:lan" "switch0" "0x1e" + ucidef_set_led_switch "wan" "wan" "$board:green:wan" "switch0" "0x01" + ;; +tl-wr841n-v13) + set_wifi_led "$board:green:wlan" + ucidef_set_led_switch "lan1" "lan1" "$board:green:lan1" "switch0" "0x2" + ucidef_set_led_switch "lan2" "lan2" "$board:green:lan2" "switch0" "0x4" + ucidef_set_led_switch "lan3" "lan3" "$board:green:lan3" "switch0" "0x8" + ucidef_set_led_switch "lan4" "lan4" "$board:green:lan4" "switch0" "0x10" + ucidef_set_led_switch "wan" "wan" "$board:green:wan" "switch0" "0x01" + ;; vocore-8M|\ vocore-16M) ucidef_set_led_netdev "eth" "ETH" "vocore:orange:eth" "eth0" diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network index 214db9df38..22b231bf96 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -169,6 +169,8 @@ ramips_setup_interfaces() mzk-wdpr|\ rb750gr3|\ rt-n14u|\ + tl-wr840n-v4|\ + tl-wr841n-v13|\ ubnt-erx|\ ubnt-erx-sfp|\ ur-326n4g|\ diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index 4c8f709efb..0f4e646ce1 100644 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -35,6 +35,8 @@ get_status_led() { nbg-419n2|\ pwh2004|\ r6220|\ + tl-wr840n-v4|\ + tl-wr841n-v13|\ vr500|\ wnce2001|\ wndr3700v5|\ |