ath79: Add support for Ubiquiti Nanostation M (XW)
[openwrt/openwrt.git] / target / linux / ath79 / base-files / etc / board.d / 02_network
index f1171695bd3739f6e52f5e03b98d6007989df51b..9a7f2d6472b78b8a50f2e71e6a6db9c90f382205 100755 (executable)
@@ -212,6 +212,10 @@ ath79_setup_interfaces()
                ucidef_add_switch "switch0" \
                        "0@eth1" "2:lan:3" "3:lan:2" "4:lan:1"
                ;;
                ucidef_add_switch "switch0" \
                        "0@eth1" "2:lan:3" "3:lan:2" "4:lan:1"
                ;;
+       ubnt,nanostation-m-xw)
+               ucidef_add_switch "switch0" \
+                       "0@eth0" "5:lan" "1:wan"
+               ;;
        ubnt,nanostation-ac|\
        ubnt,unifiac-mesh-pro|\
        ubnt,unifiac-pro)
        ubnt,nanostation-ac|\
        ubnt,unifiac-mesh-pro|\
        ubnt,unifiac-pro)