ar71xx: fix status led detection on the RB4xx boards
authorGabor Juhos <juhosg@openwrt.org>
Fri, 5 Mar 2010 20:29:24 +0000 (20:29 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Fri, 5 Mar 2010 20:29:24 +0000 (20:29 +0000)
SVN-Revision: 20005

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

index 0b8d9a73cfef696550d323cfc0c4150094939776..0ded6f4bc4dbfed70ca6f180197a534d1589129e 100755 (executable)
@@ -63,6 +63,9 @@ get_status_led() {
        pb44)
                status_led="pb44:amber:jump1"
                ;;
+       rb-411 | rb-411u | rb-433 | rb-433u | rb-450 | rb-450g | rb-493)
+               status_led="rb4xx:yellow:user"
+               ;;
        routerstation | routerstation-pro)
                status_led="ubnt:green:rf"
                ;;
index 1816bf856907707f5a155518800ceb42bb4dec00..b4612dc636d381fd60a020de6733bae0db6b88a5 100755 (executable)
@@ -46,16 +46,25 @@ ar71xx_board_name() {
        *PB44)
                name="pb44"
                ;;
-       *RB-411)
+       *"RouterBOARD 411/A/AH")
                name="rb-411"
                ;;
-       *RB-433)
+       *"RouterBOARD 411U")
+               name="rb-411u"
+               ;;
+       *"RouterBOARD 433/AH")
                name="rb-433"
                ;;
-       *RB-450)
+       *"RouterBOARD 433UAH")
+               name="rb-433u"
+               ;;
+       *"RouterBOARD 450")
                name="rb-450"
                ;;
-       *RB-493)
+       *"RouterBOARD 450G")
+               name="rb-450g"
+               ;;
+       *"RouterBOARD 493/AH")
                name="rb-493"
                ;;
        *"Rocket M")