ar71xx: add support for nanostation m xw
[openwrt/openwrt.git] / target / linux / ar71xx / base-files / etc / uci-defaults / 02_network
index 5416599f2a2ef00cf593145c34c3fd7e60d0bffc..cb3a83b301de2467160e3459d99e38c1654d0d04 100755 (executable)
@@ -215,6 +215,13 @@ uap-pro)
        ucidef_add_switch_vlan "switch0" "1" "0 1 2"
        ;;
 
+nanostation-m-xw)
+       ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
+       ucidef_add_switch "switch0" "1" "1"
+       ucidef_add_switch_vlan "switch0" "1" "0t 5"
+       ucidef_add_switch_vlan "switch0" "2" "0t 1"
+       ;;
+
 wrt160nl)
        ucidef_set_interfaces_lan_wan "eth0" "eth1"
        ucidef_add_switch "switch0" "1" "1"