ar71xx: ens202ext: Fix VLAN switch
[openwrt/staging/mkresin.git] / target / linux / ar71xx / base-files / etc / board.d / 02_network
index 8dd2f6c6c03915fc597d096f7f87eca8508725eb..04c5a3195785bd37395c3785af48c6cce9b927c0 100755 (executable)
@@ -193,7 +193,6 @@ ar71xx_setup_interfaces()
        all0315n|\
        dlan-hotspot|\
        dlan-pro-500-wp|\
-       ens202ext|\
        ja76pf2|\
        rocket-m-ti|\
        ubnt-unifi-outdoor)
@@ -582,6 +581,11 @@ ar71xx_setup_interfaces()
                ucidef_add_switch "switch0" \
                        "0@eth0" "1:lan:1" "2:lan:2" "3:lan:3" "4:lan:4" "5:wan"
                ;;
+       ens202ext)
+                ucidef_set_interfaces_lan_wan "eth1.1" "eth1.2"
+                ucidef_add_switch "switch0" \
+                        "0@eth1" "2:lan:1" "3:lan:2" "4:lan:3" "5:lan:4" "1:wan"
+                ;;
        *)
                ucidef_set_interfaces_lan_wan "eth0" "eth1"
                ;;