diff options
author | John Crispin <blogic@openwrt.org> | 2014-06-13 09:16:15 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-06-13 09:16:15 +0000 |
commit | 90ee91f93d55bc225d127d25107e8541fb482ee2 (patch) | |
tree | 07f23ef5c8c68eb96ee427d0b12e018eb698bebd /target/linux/ramips/base-files/etc/uci-defaults | |
parent | 039d815560e633e9f800143107523a3bed17c276 (diff) | |
download | master-187ad058-90ee91f93d55bc225d127d25107e8541fb482ee2.tar.gz master-187ad058-90ee91f93d55bc225d127d25107e8541fb482ee2.tar.bz2 master-187ad058-90ee91f93d55bc225d127d25107e8541fb482ee2.zip |
ramips: add asiarf awapn2403 support
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41177 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files/etc/uci-defaults')
-rwxr-xr-x | target/linux/ramips/base-files/etc/uci-defaults/01_leds | 3 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/etc/uci-defaults/02_network | 7 |
2 files changed, 10 insertions, 0 deletions
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 23c24515e2..c5e380cbc6 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/01_leds +++ b/target/linux/ramips/base-files/etc/uci-defaults/01_leds @@ -35,6 +35,9 @@ case $board in ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "all0256n:green:rssihigh" "wlan0" "70" "100" "-69" "8" set_wifi_led "rt2800pci-phy0::radio" ;; + awapn2403) + set_wifi_led "rt2800soc-phy0::radio" + ;; ar725w) set_wifi_led "rt2800soc-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 02a4da9d3a..0c3daff960 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/02_network +++ b/target/linux/ramips/base-files/etc/uci-defaults/02_network @@ -64,6 +64,13 @@ ramips_setup_interfaces() ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" ;; + awapn2403) + ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" + ucidef_add_switch "switch0" "1" "1" + ucidef_add_switch_vlan "switch0" "1" "0 6t" + ucidef_add_switch_vlan "switch0" "2" "1 6t" + ;; + br-6475nd) ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" ucidef_add_switch "switch0" "1" "1" |