ipq40xx: Add ZTE MF289F
[openwrt/staging/ansuel.git] / target / linux / ipq40xx / base-files / etc / board.d / 02_network
index 74a1d61d065fb18b862e75397f0c189d4eafca44..d13d21334c55e5ef2c356ca302497d84d5edc2bf 100644 (file)
@@ -161,6 +161,11 @@ ipq40xx_setup_interfaces()
                ucidef_add_switch "switch0" \
                        "0u@eth0" "2:lan:4" "3:lan:3" "4:lan:2" "0u@eth1" "5:wan"
                ;;
+       zte,mf289f)
+               ucidef_set_interfaces_lan_wan "eth0" "eth1"
+               ucidef_add_switch "switch0" \
+                       "0u@eth0" "0u@eth1" "2:lan:1" "5:lan:2"
+               ;;
        *)
                echo "Unsupported hardware. Network interfaces not initialized"
                ;;