aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
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
commit730fa52368a9702be5eb017056272f6d3b536721 (patch)
treed06865ff2612f21792fff89d71cb7a9e03751b36 /target/linux/ar71xx/base-files
parent133fb261b09190d258d638299d37a62b54542f5c (diff)
downloadupstream-730fa52368a9702be5eb017056272f6d3b536721.tar.gz
upstream-730fa52368a9702be5eb017056272f6d3b536721.tar.bz2
upstream-730fa52368a9702be5eb017056272f6d3b536721.zip
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/base-files')
-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"
;;