From f223c4a9230f520f27bf0e1c458335b79935805a Mon Sep 17 00:00:00 2001 From: Wojciech Jowsa Date: Wed, 15 Feb 2017 12:38:07 +0100 Subject: ar71xx: set status led for the gl-* boards Signed-off-by: Wojciech Jowsa --- target/linux/ar71xx/base-files/etc/board.d/01_leds | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'target/linux/ar71xx/base-files/etc/board.d') diff --git a/target/linux/ar71xx/base-files/etc/board.d/01_leds b/target/linux/ar71xx/base-files/etc/board.d/01_leds index 4dc4bfd51d..0ed533dddb 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/01_leds +++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds @@ -312,19 +312,18 @@ dlan-pro-1200-ac) ucidef_set_led_gpio "plcw" "dLAN" "devolo:status:dlan" "17" "0" ucidef_set_led_gpio "plcr" "dLAN" "devolo:error:dlan" "16" "0" ;; -gl-ar150|\ -gl-ar300|\ -gl-ar300m|\ +gl-ar300m) + ucidef_set_led_wlan "wlan" "WLAN" "$board:red:wlan" "phy0tpt" + ;; gl-mifi) + ucidef_set_led_wlan "wlan" "WLAN" "$board:green:wlan" "phy0tpt" + ucidef_set_led_netdev "wan" "WAN" "$board:green:wan" "eth0" + ucidef_set_led_netdev "lan" "LAN" "$board:green:lan" "eth1" + ucidef_set_led_netdev "3gnet" "3GNET" "$board:green:net" "3g-wan" + ;; +gl-ar150|\ +gl-ar300) ucidef_set_led_wlan "wlan" "WLAN" "$board:wlan" "phy0tpt" - - case "$board" in - gl-mifi) - ucidef_set_led_netdev "wan" "WAN" "$board:wan" "eth0" - ucidef_set_led_netdev "lan" "LAN" "$board:lan" "eth1" - ucidef_set_led_netdev "3gnet" "3GNET" "$board:net" "3g-wan" - ;; - esac ;; gl-domino|\ sc300m|\ -- cgit v1.2.3