aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-11-12 10:54:10 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-11-12 10:54:10 +0000
commitab5f1bf09042fd86da1cb105d2e079fec4a7090e (patch)
tree82531cca22f96d5fb33397fb76b7aaf13b652295
parent856b67cb13e5bdadc8d64a086c4a6274da72dae0 (diff)
downloadupstream-ab5f1bf09042fd86da1cb105d2e079fec4a7090e.tar.gz
upstream-ab5f1bf09042fd86da1cb105d2e079fec4a7090e.tar.bz2
upstream-ab5f1bf09042fd86da1cb105d2e079fec4a7090e.zip
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 df52174857..dd5b6b1b4e 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 6064dcd110..6ea97eda9c 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"
;;