ar71xx: adjust ew-dorin platform for LAN+WAN setup
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 28 Feb 2014 11:08:04 +0000 (11:08 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 28 Feb 2014 11:08:04 +0000 (11:08 +0000)
Signed-off-by: Embedded Wireless GmbH <info at embeddedwireless.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39763 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/ar71xx/base-files/etc/uci-defaults/02_network

index fd38ffa..9a1a285 100755 (executable)
@@ -311,9 +311,10 @@ wzr-hp-g450h)
        ;;
 
 ew-dorin)
        ;;
 
 ew-dorin)
-       ucidef_set_interface_lan "eth0"
+       ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
        ucidef_add_switch "switch0" "1" "1"
        ucidef_add_switch "switch0" "1" "1"
-       ucidef_add_switch_vlan "switch0" "1" "0 1 2 3"
+       ucidef_add_switch_vlan "switch0" "1" "0t 1 2"
+       ucidef_add_switch_vlan "switch0" "2" "0t 3"
        ;;
 
 ew-dorin-router)
        ;;
 
 ew-dorin-router)