summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-11-12 10:54:10 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-11-12 10:54:10 +0000
commita3d212948721c0be2e9e3ded1c5c7dc99b7ab4eb (patch)
tree82531cca22f96d5fb33397fb76b7aaf13b652295
parentbb977eb73bea20ad2ccd39f10fb2f2b607fef1fc (diff)
ar71xx: add diag support for the DB120 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28975 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
2 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index df5217485..dd5b6b1b4 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -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"
;;
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 6064dcd11..6ea97eda9 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -31,6 +31,9 @@ ar71xx_board_name() {
*AW-NR580)
name="aw-nr580"
;;
+ *DB120)
+ name="db120"
+ ;;
*"DIR-600 rev. A1")
name="dir-600-a1"
;;