From dc7164d4efd172fb412d24849dc477992251e4b7 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Wed, 14 Aug 2013 19:35:27 +0000 Subject: ramips: DIR-610-A1 Support http://patchwork.openwrt.org/patch/3933/ Signed-off-by: Flavio Silveira SVN-Revision: 37785 --- target/linux/ramips/base-files/etc/uci-defaults/01_leds | 1 + target/linux/ramips/base-files/etc/uci-defaults/02_network | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'target/linux/ramips/base-files/etc/uci-defaults') diff --git a/target/linux/ramips/base-files/etc/uci-defaults/01_leds b/target/linux/ramips/base-files/etc/uci-defaults/01_leds index 7bec16f491..64c7c5e469 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/01_leds +++ b/target/linux/ramips/base-files/etc/uci-defaults/01_leds @@ -77,6 +77,7 @@ case $board in dir-810l) ucidef_set_led_default "power" "POWER" "dlink:green:power" "1" ;; + dir-610-a1 |\ esr-9753) set_wifi_led "rt2800pci-phy0::radio" ;; 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 1d77e7c886..e444ef246d 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/02_network +++ b/target/linux/ramips/base-files/etc/uci-defaults/02_network @@ -77,6 +77,7 @@ ramips_setup_interfaces() ucidef_add_switch_vlan "switch0" "2" "0 6t" ;; + dir-610-a1 | \ dir-615-h1 | \ mzk-w300nh2) ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" @@ -205,7 +206,8 @@ ramips_setup_macs() dir-300-b1 |\ dir-300-b2 |\ - dir-600-b1) + dir-600-b1 |\ + dir-610-a1) lan_mac=$(mtd_get_mac_binary devdata 16388) wan_mac=$(macaddr_add "$lan_mac" 1) ;; -- cgit v1.2.3