ipq40xx: add support for Linksys WHW01 v1
[openwrt/staging/chunkeey.git] / target / linux / ipq40xx / base-files / etc / board.d / 02_network
index c39890ecd935cc24c24ba926ef801820b5ef4e4d..39450a5af777a3642974b1efc80c94584ea118ba 100644 (file)
@@ -46,6 +46,7 @@ ipq40xx_setup_interfaces()
        cilab,meshpoint-one|\
        edgecore,ecw5211|\
        edgecore,oap100|\
+       google,wifi|\
        openmesh,a42|\
        openmesh,a62)
                ucidef_set_interfaces_lan_wan "eth1" "eth0"
@@ -67,17 +68,22 @@ ipq40xx_setup_interfaces()
                ;;
        avm,fritzbox-4040|\
        linksys,ea6350v3|\
-       linksys,ea8300|\
-       linksys,mr8300)
+       linksys,ea8300)
                ucidef_set_interfaces_lan_wan "eth0" "eth1"
                ucidef_add_switch "switch0" \
                        "0u@eth0" "1:lan" "2:lan" "3:lan" "4:lan"
                ;;
+       linksys,mr8300)
+               ucidef_set_interfaces_lan_wan "eth0" "eth1"
+               ucidef_add_switch "switch0" \
+                       "0u@eth0" "1:lan" "2:lan" "3:lan" "4:lan" "0u@eth1" "5:wan"
+               ;;
        avm,fritzbox-7530)
                ucidef_add_switch "switch0" \
                        "0u@eth0" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1"
                ;;
-       avm,fritzrepeater-3000)
+       avm,fritzrepeater-3000|\
+       linksys,whw01-v1)
                ucidef_add_switch "switch0" \
                        "0u@eth0" "4:lan:1" "5:lan:2"
                ;;
@@ -135,11 +141,17 @@ ipq40xx_setup_interfaces()
                ucidef_add_switch "switch0" \
                        "0u@eth0" "3:lan" "4:lan" "0u@eth1" "5:wan"
                ;;
-       unielec,u4019-32m)
+       unielec,u4019-32m |\
+       tel,x1pro)
                ucidef_set_interfaces_lan_wan "eth0" "eth1"
                ucidef_add_switch "switch0" \
                        "0u@eth0" "1:lan" "2:lan" "3:lan" "4:lan" "0u@eth1" "5:wan"
                ;;
+       zte,mf286d)
+               ucidef_set_interfaces_lan_wan "eth0" "eth1"
+               ucidef_add_switch "switch0" \
+                       "0u@eth0" "2:lan:4" "3:lan:3" "4:lan:2" "0u@eth1" "5:wan"
+               ;;
        *)
                echo "Unsupported hardware. Network interfaces not initialized"
                ;;