summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc/uci-defaults
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-08-17 17:56:05 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-08-17 17:56:05 +0000
commitcf26194ba9f7e1ce7a9b96191b814b04b4cee3a3 (patch)
tree6ea325aa2675595fe748283658f6d43dd321f643 /target/linux/ramips/base-files/etc/uci-defaults
parentdc20bb23a2d0e932a095b179cb82067cb27ed164 (diff)
ramips: add support for D-Link DIR-615 H1
rt2x00 still needs some patching as the radio doesn't come to life. Installation via webflash. [juhosg: fix whitespace issues, remove rt305x_register_usb from machine setup because the board has no USB port] Signed-off-by: Mikko Hissa <mikko.hissa@uta.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33205 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files/etc/uci-defaults')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/leds4
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/network4
2 files changed, 7 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/leds b/target/linux/ramips/base-files/etc/uci-defaults/leds
index 21804c74a..32fae2507 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/leds
+++ b/target/linux/ramips/base-files/etc/uci-defaults/leds
@@ -32,6 +32,10 @@ case $board in
ucidef_set_led_default "wan" "WAN LED (amber)" "d-link:amber:wan" "1"
set_wifi_led "rt2800pci-phy0::radio"
;;
+ dir-615-h1)
+ ucidef_set_led_default "status" "Status LED (amber)" "d-link:amber:status" "0"
+ set_wifi_led "rt2800pci-phy0::radio"
+ ;;
esr-9753)
set_wifi_led "rt2800pci-phy0::radio"
;;
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/network b/target/linux/ramips/base-files/etc/uci-defaults/network
index cbb0b85ff..e7e93345a 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/network
@@ -18,6 +18,7 @@ ramips_setup_interfaces()
case $board in
all0256n | \
all5002 | \
+ dir-615-h1 | \
wl-330n)
ucidef_set_interface_lan "eth0.1"
;;
@@ -89,7 +90,8 @@ ramips_setup_macs()
case $board in
all0256n | \
- all5002)
+ all5002 | \
+ dir-615-h1)
lan_mac=$(ramips_get_mac_binary factory 40)
;;
3g-6200n | \