aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
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
commitd461fdd519183fdd492e9ee73e72021e8d09b3e0 (patch)
tree666bf5e6d08c5a709962f7552943540f658a408a /target/linux/ar71xx
parentd8db8e94c8ab224e0bd0a7141b00473d3da10349 (diff)
downloadupstream-d461fdd519183fdd492e9ee73e72021e8d09b3e0.tar.gz
upstream-d461fdd519183fdd492e9ee73e72021e8d09b3e0.tar.bz2
upstream-d461fdd519183fdd492e9ee73e72021e8d09b3e0.zip
ar71xx: add diag support for the DB120 board
SVN-Revision: 28975
Diffstat (limited to 'target/linux/ar71xx')
-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"
;;