aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-06-18 20:24:09 +0000
committerJohn Crispin <blogic@openwrt.org>2015-06-18 20:24:09 +0000
commitf3f3f13eba9c26ee3427d001c2a1d1d9931aee4c (patch)
tree96cfa5eb8addf334630aa7873d9739ea6a2e06a3 /target/linux/ramips/base-files/etc
parent33343146d54a76b20b2fad8a77ad0738ab355b27 (diff)
downloadupstream-f3f3f13eba9c26ee3427d001c2a1d1d9931aee4c.tar.gz
upstream-f3f3f13eba9c26ee3427d001c2a1d1d9931aee4c.tar.bz2
upstream-f3f3f13eba9c26ee3427d001c2a1d1d9931aee4c.zip
ramips: Add support for the D-Link DCS-930 B1
http://wiki.openwrt.org/toh/d-link/dcs-930l Signed-off-by: L. D. Pinney <ldpinney@gmail.com> Backport of r46042 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46052 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds4
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network1
-rw-r--r--target/linux/ramips/base-files/etc/diag.sh3
3 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds
index c63ff47585..a5a8400775 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -85,6 +85,10 @@ case $board in
ucidef_set_led_default "power" "POWER" "d105:red:power" "1"
set_usb_led "d105:green:usb"
;;
+ dcs-930l-b1)
+ ucidef_set_led_default "power" "POWER" "d-link:red:power" "1"
+ ucidef_set_led_netdev "wifi" "WiFi" "d-link:blue:wps"
+ ;;
dir-300-b1|\
dir-600-b1|\
dir-600-b2|\
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network
index b3dd1f1c3d..4849238390 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -53,6 +53,7 @@ ramips_setup_interfaces()
all5003 | \
broadway | \
dcs-930| \
+ dcs-930l-b1| \
ht-tm02| \
ncs601w | \
wnce2001)
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index bfc92e5e4e..8bcc532d98 100644
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -48,6 +48,9 @@ get_status_led() {
dcs-930 | dir-300-b1 | dir-600-b1 | dir-600-b2 | dir-610-a1 | dir-615-h1 | dir-615-d | dir-620-a1| dir-620-d1| dir-300-b7| dir-320-b1)
status_led="d-link:green:status"
;;
+ dcs-930l-b1)
+ status_led="d-link:red:power"
+ ;;
dir-645)
status_led="d-link:green:wps"
;;