ramips: Add support of D-link DIR-620D1
[openwrt/openwrt.git] / target / linux / ramips / base-files / etc / uci-defaults / 02_network
index 7d30f72f086859f692e4e40c7c81d7a06d9cf5f7..49c4f7f334c19a495bb87b1c8778d3542ae0fdaa 100755 (executable)
@@ -38,14 +38,15 @@ ramips_setup_interfaces()
 
        case $board in
        3g300m | \
+       w150m | \
        all0256n | \
        all5002 | \
-       broadway)
+       broadway | \
+       wnce2001)
                ucidef_add_switch "switch0" "1" "0"
                ucidef_set_interface_lan "eth0"
                ;;
 
-       dir-615-h1 | \
        3g-6200nl | \
        wl-330n)
                ucidef_set_interface_lan "eth0.1"
@@ -69,6 +70,7 @@ ramips_setup_interfaces()
                ucidef_add_switch_vlan "switch0" "2" "0 6t"
                ;;
 
+       dir-615-h1 | \
        mzk-w300nh2)
                ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
                ucidef_add_switch "switch0" "1" "1"
@@ -125,6 +127,7 @@ ramips_setup_interfaces()
                ucidef_set_interfaces_lan_wan "eth0.2" "eth0.1"
                ;;
 
+       d105 | \
        omni-emb-hpm|\
        wli-tx4-ag300n)
                ucidef_set_interface_lan "eth0"
@@ -155,11 +158,13 @@ ramips_setup_macs()
                ;;
        3g-6200n | \
        3g300m | \
+       w150m | \
        air3gii | \
        argus-atp52b | \
        bc2 | \
        br6425 | \
        broadway | \
+       dir-620-d1 | \
        f5d8235-v1 | \
        mzk-w300nh2 | \
        nw718 | \
@@ -239,7 +244,8 @@ ramips_setup_macs()
 
        all0239-3g | \
        carambola | \
-       w502u)
+       w502u | \
+       wnce2001)
                lan_mac=$(mtd_get_mac_binary factory 40)
                wan_mac=$(mtd_get_mac_binary factory 46)
                ;;
@@ -249,6 +255,7 @@ ramips_setup_macs()
                wan_mac=$(macaddr_add "$lan_mac" 1)
                ;;
 
+       d105 | \
        wli-tx4-ag300n)
                lan_mac=$(mtd_get_mac_binary factory 4)
                ;;