ath79: Reorder some TP-Link Archer devices in 01_leds
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Wed, 5 Jun 2019 11:50:21 +0000 (13:50 +0200)
committerChristian Lamparter <chunkeey@gmail.com>
Mon, 10 Jun 2019 09:25:47 +0000 (11:25 +0200)
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/ath79/base-files/etc/board.d/01_leds

index 626842b072b95b7b2f07e87e257f218148cda7fc..38927be33bd5695dfcf6e1fa821dcabdf26c25b9 100755 (executable)
@@ -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"