diff options
author | John Crispin <john@openwrt.org> | 2015-06-18 18:20:46 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-06-18 18:20:46 +0000 |
commit | e26ba31f76a4498be4080a8481f010d6a6cd54ed (patch) | |
tree | caabc09bb1ec8bd5c76dd1d2a62afa37607c48fa /target/linux/ramips/base-files | |
parent | 640b211b1e9350471f7aef7c64ced5a1ef55476e (diff) | |
download | upstream-e26ba31f76a4498be4080a8481f010d6a6cd54ed.tar.gz upstream-e26ba31f76a4498be4080a8481f010d6a6cd54ed.tar.bz2 upstream-e26ba31f76a4498be4080a8481f010d6a6cd54ed.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>
SVN-Revision: 46042
Diffstat (limited to 'target/linux/ramips/base-files')
5 files changed, 12 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" ;; diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index 14ffc212d2..2d007163f3 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -106,6 +106,9 @@ ramips_board_detect() { *"DCS-930") name="dcs-930" ;; + *"DCS-930L B1") + name="dcs-930l-b1" + ;; *"DIR-300 B1") name="dir-300-b1" ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index 8d5f74ff09..f3e8ed5e69 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -37,6 +37,7 @@ platform_check_image() { d105 | \ dap-1350 | \ dcs-930 | \ + dcs-930l-b1 | \ dir-300-b1 | \ dir-300-b7 | \ dir-320-b1 | \ |