aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2014-02-23 08:11:54 +0000
committerGabor Juhos <juhosg@openwrt.org>2014-02-23 08:11:54 +0000
commit590bafe3def4a6c1cb962cf92d15861536af4a50 (patch)
tree4ff8cdf260288ba0b436268b60f07131df59c58f /target/linux
parentda2f3c1448c870cc29d5fd66dbe45beeb23a6d20 (diff)
downloadupstream-590bafe3def4a6c1cb962cf92d15861536af4a50.tar.gz
upstream-590bafe3def4a6c1cb962cf92d15861536af4a50.tar.bz2
upstream-590bafe3def4a6c1cb962cf92d15861536af4a50.zip
ar71xx: define status LED for the RB91x boards
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39705
Diffstat (limited to 'target/linux')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh6
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh12
2 files changed, 18 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index dea3f811e8..b328766a61 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -113,6 +113,12 @@ get_status_led() {
rb-750)
status_led="rb750:green:act"
;;
+ rb-911g-2hpnd|\
+ rb-911g-5hpnd|\
+ rb-912uag-2hpnd|\
+ rb-912uag-5hpnd)
+ status_led="rb:green:user"
+ ;;
routerstation | routerstation-pro)
status_led="ubnt:green:rf"
;;
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 81a7591482..06f128bb0f 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -399,6 +399,18 @@ ar71xx_board_detect() {
*"RouterBOARD 751G")
name="rb-751g"
;;
+ *"RouterBOARD 911G-2HPnD")
+ name="rb-911g-2hpnd"
+ ;;
+ *"RouterBOARD 911G-5HPnD")
+ name="rb-911g-5hpnd"
+ ;;
+ *"RouterBOARD 912UAG-2HPnD")
+ name="rb-912uag-2hpnd"
+ ;;
+ *"RouterBOARD 912UAG-5HPnD")
+ name="rb-912uag-5hpnd"
+ ;;
*"RouterBOARD 951G-2HnD")
name="rb-951g-2hnd"
;;