aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/base-files
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-06-05 13:50:21 +0200
committerChristian Lamparter <chunkeey@gmail.com>2019-06-10 11:25:47 +0200
commit409940cef46e1c6ffd2e448f21abda8967e6ed5d (patch)
treea3052d8827430f8c8982e87092c0f778ebde9ce5 /target/linux/ath79/base-files
parentb47cf6d539bf7cf3a3bbb2e7cb820d1e8abbb99c (diff)
downloadupstream-409940cef46e1c6ffd2e448f21abda8967e6ed5d.tar.gz
upstream-409940cef46e1c6ffd2e448f21abda8967e6ed5d.tar.bz2
upstream-409940cef46e1c6ffd2e448f21abda8967e6ed5d.zip
ath79: Reorder some TP-Link Archer devices in 01_leds
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ath79/base-files')
-rwxr-xr-xtarget/linux/ath79/base-files/etc/board.d/01_leds16
1 files changed, 8 insertions, 8 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 626842b072..38927be33b 100755
--- a/target/linux/ath79/base-files/etc/board.d/01_leds
+++ b/target/linux/ath79/base-files/etc/board.d/01_leds
@@ -122,14 +122,19 @@ tplink,tl-wr1043n-v5)
ucidef_set_led_switch "lan3" "LAN3" "tp-link:green:lan3" "switch0" "0x04"
ucidef_set_led_switch "lan4" "LAN4" "tp-link:green:lan4" "switch0" "0x02"
;;
+tplink,archer-c6-v2)
+ ucidef_set_led_switch "lan" "LAN" "tp-link:green:lan" "switch0" "0x3C"
+ ucidef_set_led_switch "wan" "WAN" "tp-link:green:wan" "switch0" "0x02"
+ ;;
tplink,archer-c58-v1|\
tplink,archer-c59-v1)
ucidef_set_led_switch "lan" "LAN" "tp-link:green:lan" "switch0" "0x1E"
ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth1"
;;
-tplink,archer-c6-v2)
- ucidef_set_led_switch "lan" "LAN" "tp-link:green:lan" "switch0" "0x3C"
- ucidef_set_led_switch "wan" "WAN" "tp-link:green:wan" "switch0" "0x02"
+tplink,archer-d50-v1)
+ ucidef_set_led_switch "lan" "LAN" "tp-link:white:lan" "switch0" "0x1c"
+ ucidef_set_led_switch "wan_data" "WAN Data" "tp-link:white:internet" "switch0" "0x02" "" "tx rx"
+ ucidef_set_led_switch "wan_link" "WAN Link" "tp-link:white:wan" "switch0" "0x02" "" "link"
;;
tplink,cpe210-v2|\
tplink,cpe210-v3)
@@ -140,11 +145,6 @@ tplink,cpe210-v3)
ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "tp-link:green:link3" "wlan0" "60" "100"
ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "tp-link:green:link4" "wlan0" "80" "100"
;;
-tplink,archer-d50-v1)
- ucidef_set_led_switch "lan" "LAN" "tp-link:white:lan" "switch0" "0x1c"
- ucidef_set_led_switch "wan_data" "WAN Data" "tp-link:white:internet" "switch0" "0x02" "" "tx rx"
- ucidef_set_led_switch "wan_link" "WAN Link" "tp-link:white:wan" "switch0" "0x02" "" "link"
- ;;
tplink,re450-v2)
ucidef_set_led_netdev "lan_data" "LAN Data" "tp-link:green:lan_data" "eth0" "tx rx"
ucidef_set_led_netdev "lan_link" "LAN Link" "tp-link:green:lan_link" "eth0" "link"