summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-09-19 05:56:46 +0000
committerJohn Crispin <john@openwrt.org>2013-09-19 05:56:46 +0000
commitc0f6bf05f4b73d4541865db9785fe691666774cb (patch)
tree82c6fd1bf791b227042a1f8879fba3008bf9e5a9 /target/linux/ramips/base-files
parent898c164b464dda4e829b0d064d9c3b10161f4a39 (diff)
downloadmtk-20170518-c0f6bf05f4b73d4541865db9785fe691666774cb.zip
mtk-20170518-c0f6bf05f4b73d4541865db9785fe691666774cb.tar.gz
mtk-20170518-c0f6bf05f4b73d4541865db9785fe691666774cb.tar.bz2
ralink: add support for dalink dcs930l ipcam
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38053
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/diag.sh2
-rw-r--r--target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom1
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/02_network1
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh1
5 files changed, 7 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index c8f73e7..bfe53e1 100755
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -27,7 +27,7 @@ get_status_led() {
d105)
status_led="d105:red:power"
;;
- 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)
+ 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"
;;
dir-645)
diff --git a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
index a567817..b0b0717 100644
--- a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
+++ b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
@@ -68,6 +68,7 @@ case "$FIRMWARE" in
br6524n | \
carambola | \
d105 | \
+ dcs-930 | \
dir-300-b7 | \
dir-320-b1 | \
dir-610-a1 | \
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/02_network b/target/linux/ramips/base-files/etc/uci-defaults/02_network
index 0184ef4..345bd81 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/02_network
@@ -43,6 +43,7 @@ ramips_setup_interfaces()
all5003 | \
awm002-evb | \
broadway | \
+ dcs-930| \
wnce2001)
ucidef_add_switch "switch0" "1" "0"
ucidef_set_interface_lan "eth0"
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index a92e818..494f9d4 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -64,6 +64,9 @@ ramips_board_detect() {
*"Aztech HW550-3G")
name="hw550-3g"
;;
+ *"DCS-930")
+ name="dcs-930"
+ ;;
*"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 cc8ca89..e7087cc 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -29,6 +29,7 @@ platform_check_image() {
broadway | \
carambola | \
d105 | \
+ dcs-930 | \
dir-300-b1 | \
dir-300-b7 | \
dir-320-b1 | \