2
0
forked from Ivasoft/openwrt

ar71xx: add user-space support for the EnGenius ESR900

Signed-off-by: Forest Crossman <cyrozap@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5716/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41641
This commit is contained in:
Gabor Juhos
2014-07-14 10:25:51 +00:00
parent 0bec90b830
commit 50c554a475
4 changed files with 21 additions and 0 deletions

View File

@@ -266,6 +266,16 @@ wndr4300)
[ -n "$mac_wan" ] && ucidef_set_interface_macaddr "wan" "$mac_wan"
;;
esr900)
local mac
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "switch0" "1" "1"
ucidef_add_switch_vlan "switch0" "1" "0t 1 2 3 4"
ucidef_add_switch_vlan "switch0" "2" "0t 5"
mac=$(mtd_get_mac_ascii u-boot-env "wanaddr")
[ -n "$mac" ] && ucidef_set_interface_macaddr "wan" "$mac"
;;
all0305 |\
aw-nr580 |\
bullet-m |\