aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc
diff options
context:
space:
mode:
authorFUKAUMI Naoki <naobsd@gmail.com>2016-11-08 22:45:00 +0900
committerJohn Crispin <john@phrozen.org>2016-11-16 10:54:33 +0100
commit016520330440cb0aca4367150911721b748f75e8 (patch)
treee2adac34dc59c2a67a750fb714cae5dbbf8b991d /target/linux/ar71xx/base-files/etc
parent40a16fec6a8ddecd022452b1c2052bf08b681687 (diff)
downloadupstream-016520330440cb0aca4367150911721b748f75e8.tar.gz
upstream-016520330440cb0aca4367150911721b748f75e8.tar.bz2
upstream-016520330440cb0aca4367150911721b748f75e8.zip
ar71xx: add support for Buffalo BHR-4GRV2
Signed-off-by: FUKAUMI Naoki <naobsd@gmail.com>
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/01_leds4
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/02_network1
-rw-r--r--target/linux/ar71xx/base-files/etc/diag.sh9
3 files changed, 10 insertions, 4 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 1708abf53c..16135a36a6 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,10 @@ 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"
;;
+bhr-4grv2)
+ ucidef_set_led_default "power" "POWER" "buffalo:green:power" "1"
+ ucidef_set_led_default "diag" "DIAG" "buffalo:red:diag" "0"
+ ;;
bsb)
ucidef_set_led_default "sys" "SYS" "$board:red:sys" "1"
;;
diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network
index 24dfced4ae..df87c96a3f 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/02_network
+++ b/target/linux/ar71xx/base-files/etc/board.d/02_network
@@ -164,6 +164,7 @@ ar71xx_setup_interfaces()
;;
ap135-020|\
ap136-020|\
+ bhr-4grv2|\
tew-823dru|\
tl-wr1043nd-v2|\
wzr-450hp2)
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 881b3c65e5..bfd619a211 100644
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -53,6 +53,11 @@ get_status_led() {
aw-nr580)
status_led="$board:green:ready"
;;
+ bhr-4grv2|\
+ wzr-hp-ag300h|\
+ wzr-hp-g300nh2)
+ status_led="buffalo:red:diag"
+ ;;
bsb)
status_led="$board:red:sys"
;;
@@ -393,10 +398,6 @@ get_status_led() {
wlae-ag300n)
status_led="buffalo:green:status"
;;
- wzr-hp-ag300h|\
- wzr-hp-g300nh2)
- status_led="buffalo:red:diag"
- ;;
r6100|\
wndap360|\
wndr3700|\