2
0
forked from Ivasoft/openwrt

ramips: add asiarf awapn2403 support

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41177
This commit is contained in:
John Crispin
2014-06-13 09:16:15 +00:00
parent 4f03c52dd8
commit 6d213a644d
9 changed files with 104 additions and 8 deletions

View File

@@ -15,6 +15,9 @@ get_status_led() {
ar725w)
status_led="ar725w:green:power"
;;
awapn2403)
status_led="asiarf:green:wps"
;;
argus-atp52b)
status_led="argus-atp52b:green:run"
;;

View File

@@ -64,6 +64,7 @@ case "$FIRMWARE" in
all5003 | \
argus-atp52b | \
awm002-evb | \
awapn2403 | \
bc2 | \
br6425 | \
br-6475nd | \

View File

@@ -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"
;;

View File

@@ -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"