aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-03-05 20:29:24 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-03-05 20:29:24 +0000
commit7bda582cf71e70edf435300416a3d7b179aeb069 (patch)
tree0d7e83257dfe7d70b7fb6d4117e5b66be84efb06 /target/linux/ar71xx/base-files
parent2702ae4e8fa7b132ec80823b77a695726cf11bab (diff)
downloadupstream-7bda582cf71e70edf435300416a3d7b179aeb069.tar.gz
upstream-7bda582cf71e70edf435300416a3d7b179aeb069.tar.bz2
upstream-7bda582cf71e70edf435300416a3d7b179aeb069.zip
ar71xx: fix status led detection on the RB4xx boards
SVN-Revision: 20005
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh17
2 files changed, 16 insertions, 4 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 0b8d9a73cf..0ded6f4bc4 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -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"
;;
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 1816bf8569..b4612dc636 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -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")