diff options
author | John Crispin <john@openwrt.org> | 2014-06-13 09:16:15 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-06-13 09:16:15 +0000 |
commit | 6d213a644d61166c3991fafede3c9e36dffbdf1d (patch) | |
tree | f4f020d37d3d7fc0ca47ce71050ed1883cbe97db /target/linux/ramips/base-files/etc/uci-defaults | |
parent | 4f03c52dd8469834fc02db6032045001a5a4477b (diff) | |
download | upstream-6d213a644d61166c3991fafede3c9e36dffbdf1d.tar.gz upstream-6d213a644d61166c3991fafede3c9e36dffbdf1d.tar.bz2 upstream-6d213a644d61166c3991fafede3c9e36dffbdf1d.zip |
ramips: add asiarf awapn2403 support
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41177
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" |