ar71xx: define status LED for the RB91x boards
authorGabor Juhos <juhosg@openwrt.org>
Sun, 23 Feb 2014 08:11:54 +0000 (08:11 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sun, 23 Feb 2014 08:11:54 +0000 (08:11 +0000)
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39705

target/linux/ar71xx/base-files/etc/diag.sh
target/linux/ar71xx/base-files/lib/ar71xx.sh

index dea3f811e83d8aeef7784cf42fa2a524aeae79ff..b328766a61a9a644a97acfb07328b0aff23203f4 100755 (executable)
@@ -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"
                ;;
index 81a7591482b1b1bdfd657a18ba5f28a24ddb7090..06f128bb0f77bdfaa267de36954c289939412d83 100755 (executable)
@@ -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"
                ;;