ar71xx: add diag support for the DB120 board
authorGabor Juhos <juhosg@openwrt.org>
Sat, 12 Nov 2011 10:54:10 +0000 (10:54 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sat, 12 Nov 2011 10:54:10 +0000 (10:54 +0000)
SVN-Revision: 28975

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

index df5217485752cb466396434c8213c7f32c274787..dd5b6b1b4e0c999a286233f6c208ea784a6bba84 100755 (executable)
@@ -45,6 +45,9 @@ get_status_led() {
        bullet-m | rocket-m | nano-m | nanostation-m)
                status_led="ubnt:green:link4"
                ;;
+       db120)
+               status_led="db120:green:status"
+               ;;
        dir-600-a1)
                status_led="dir-600-a1:green:power"
                ;;
index 6064dcd11055cd603c6997c189c37529dd15b431..6ea97eda9cae2ae81ce30f1c18ebe23b6d99a07f 100755 (executable)
@@ -31,6 +31,9 @@ ar71xx_board_name() {
        *AW-NR580)
                name="aw-nr580"
                ;;
+       *DB120)
+               name="db120"
+               ;;
        *"DIR-600 rev. A1")
                name="dir-600-a1"
                ;;