summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2014-02-23 08:11:54 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2014-02-23 08:11:54 +0000
commitfe948cbab5e160b3ebcbaf3464faf9afc388a01c (patch)
treed06865ff2612f21792fff89d71cb7a9e03751b36 /target/linux/ar71xx
parent669c1644ccdb585a53aeb9d8ebea8df862e401fe (diff)
ar71xx: define status LED for the RB91x boards
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39705 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx')
-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"
;;