diff options
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/board.d/01_leds | 15 | ||||
-rw-r--r-- | target/linux/ar71xx/base-files/etc/diag.sh | 7 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 1 |
4 files changed, 19 insertions, 7 deletions
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 29ee5d7..c348b4f 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/01_leds +++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds @@ -57,6 +57,17 @@ ap147-010) ucidef_set_led_switch "lan4" "LAN4" "ap147:green:lan4" "switch0" "0x02" ucidef_set_led_wlan "wlan2g" "WLAN 2.4 GHz" "ap147:green:wlan-2g" "phy0tpt" ;; +ap90q|\ +dr531) + ucidef_set_led_netdev "lan" "LAN" "$board:green:lan" "eth0" + ucidef_set_led_netdev "wan" "WAN" "$board:green:wan" "eth1" + + case "$board" in + ap90q) + ucidef_set_led_wlan "wlan" "WLAN" "$board:green:wlan" "phy0tpt" + ;; + esac + ;; bhr-4grv2) ucidef_set_led_default "power" "POWER" "buffalo:green:power" "1" ucidef_set_led_default "diag" "DIAG" "buffalo:red:diag" "0" @@ -152,10 +163,6 @@ cr5000) ucidef_set_led_wlan "wlan" "WLAN" "pcs:blue:wlan" "phy0tpt" ucidef_set_led_usbdev "usb" "USB" "pcs:white:wps" "1-1" ;; -dr531) - ucidef_set_led_netdev "lan" "LAN" "$board:green:lan" "eth0" - ucidef_set_led_netdev "wan" "WAN" "$board:green:wan" "eth1" - ;; dragino2) ucidef_set_led_wlan "wlan" "WLAN" "$board:red:wlan" "phy0tpt" ucidef_set_led_netdev "lan" "LAN" "$board:red:lan" "eth0" diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index bb42843..0ef5a52 100644 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -47,6 +47,10 @@ get_status_led() { tl-wpa8630) status_led="$board:green:power" ;; + ap90q|\ + gl-inet) + status_led="$board:green:lan" + ;; ap96) status_led="$board:green:led2" ;; @@ -168,9 +172,6 @@ get_status_led() { f9k1115v2) status_led="belkin:blue:status" ;; - gl-inet) - status_led="$board:green:lan" - ;; epg5000|\ esr1750) status_led="$board:amber:power" diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 8f710e6..16ee2eb 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -470,6 +470,9 @@ ar71xx_board_detect() { *AP83) name="ap83" ;; + *AP90Q) + name="ap90q" + ;; *"Archer C5") name="archer-c5" ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 87c9d8f..697b786 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -178,6 +178,7 @@ platform_check_image() { ap132|\ ap81|\ ap83|\ + ap90q|\ bullet-m|\ c-55|\ carambola2|\ |