From fb432034dae80a8210818eec8b724cd0110e5600 Mon Sep 17 00:00:00 2001 From: juhosg Date: Sun, 14 Oct 2012 16:24:25 +0000 Subject: ar71xx: ew-dorin: added ethernet switch configuration Signed-off-by: embedded wireless GmbH Signed-off-by: Gabor Juhos git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33768 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar71xx/base-files/etc/uci-defaults/network | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'target/linux') diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/network b/target/linux/ar71xx/base-files/etc/uci-defaults/network index cd9e997d8..4767fc3a2 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/network +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/network @@ -143,7 +143,6 @@ all0305 |\ aw-nr580 |\ bullet-m |\ eap7660d |\ -ew-dorin |\ rb-411 |\ tl-mr11u |\ tl-mr3020 |\ @@ -199,6 +198,12 @@ wzr-hp-g450h) 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) ucidef_set_interfaces_lan_wan "eth0" "eth1" ucidef_add_switch "eth0" "1" "1" -- cgit v1.2.3