ar71xx: ew-dorin: added ethernet switch configuration

Signed-off-by: embedded wireless GmbH <info at embeddedwireless.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33768
This commit is contained in:
Gabor Juhos 2012-10-14 16:24:25 +00:00
parent 62ab2b0da6
commit 1944f7b916

View file

@ -143,7 +143,6 @@ all0305 |\
aw-nr580 |\ aw-nr580 |\
bullet-m |\ bullet-m |\
eap7660d |\ eap7660d |\
ew-dorin |\
rb-411 |\ rb-411 |\
tl-mr11u |\ tl-mr11u |\
tl-mr3020 |\ tl-mr3020 |\
@ -199,6 +198,12 @@ wzr-hp-g450h)
ucidef_add_switch_vlan "eth0" "2" "0t 1" ucidef_add_switch_vlan "eth0" "2" "0t 1"
;; ;;
ew-dorin)
ucidef_set_interface_lan "eth0"
ucidef_add_switch "eth0" "1" "1"
ucidef_add_switch_vlan "eth0" "1" "0 1 2 3"
;;
ew-dorin-router) ew-dorin-router)
ucidef_set_interfaces_lan_wan "eth0" "eth1" ucidef_set_interfaces_lan_wan "eth0" "eth1"
ucidef_add_switch "eth0" "1" "1" ucidef_add_switch "eth0" "1" "1"