ar71xx: add support for WHQX E1700AC/E600G/E600GAC v2
[openwrt/openwrt.git] / target / linux / ar71xx / base-files / etc / board.d / 02_network
index f131b3b633e68f92cfc84adbec0714f45025efe9..0fe71e07606a92684415f8a2630eb3bcfea9e5ea 100755 (executable)
@@ -355,6 +355,12 @@ ar71xx_setup_interfaces()
                        "0u@eth0" "2:lan" "3:lan" "4:lan"
                ucidef_add_switch_attr "switch0" "enable" "false"
                ;;
+       e1700ac-v2|\
+       unifiac-pro|\
+       xd3200)
+               ucidef_add_switch "switch0" \
+                       "0@eth0" "2:lan" "3:wan"
+               ;;
        ebr-2310-c1)
                ucidef_set_interfaces_lan_wan "eth0.1" "eth1"
                ucidef_add_switch "switch0" \
@@ -493,11 +499,6 @@ ar71xx_setup_interfaces()
                ucidef_add_switch "switch0" \
                        "0@eth0" "1:lan" "2:wan"
                ;;
-       unifiac-pro|\
-       xd3200)
-               ucidef_add_switch "switch0" \
-                       "0@eth0" "2:lan" "3:wan"
-               ;;
        wndr3700|\
        wndr3700v2|\
        wndr3800|\