From c0f6bf05f4b73d4541865db9785fe691666774cb Mon Sep 17 00:00:00 2001 From: John Crispin Date: Thu, 19 Sep 2013 05:56:46 +0000 Subject: ralink: add support for dalink dcs930l ipcam Signed-off-by: John Crispin SVN-Revision: 38053 --- target/linux/ramips/base-files/etc/diag.sh | 2 +- target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom | 1 + target/linux/ramips/base-files/etc/uci-defaults/02_network | 1 + target/linux/ramips/base-files/lib/ramips.sh | 3 +++ target/linux/ramips/base-files/lib/upgrade/platform.sh | 1 + 5 files changed, 7 insertions(+), 1 deletion(-) (limited to 'target/linux/ramips/base-files') 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 | \ -- cgit v1.1