add D-link DGL-5500 A1 support
[openwrt/openwrt.git] / target / linux / ar71xx / base-files / etc / uci-defaults / 02_network
index 8a0159c01a9bd93ff14bd582ffe8220edd53ac74..e205fd514ca5763e545bd4fc478f9f2c41351d1b 100755 (executable)
@@ -46,7 +46,8 @@ ap136-010)
 
 ap136-020 |\
 ap135-020 |\
-tl-wr1043nd-v2)
+tl-wr1043nd-v2 |\
+wzr-450hp2)
        ucidef_set_interfaces_lan_wan "eth1" "eth0"
        ucidef_add_switch "switch0" "1" "1"
        ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 4"
@@ -62,6 +63,13 @@ tl-wdr4900-v2)
        ucidef_add_switch_vlan "switch0" "2" "1 6"
        ;;
 
+cpe510)
+       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 4"
+       ;;
+
 db120 |\
 rb-2011l | \
 rb-2011uas |\
@@ -200,11 +208,13 @@ tl-wr941nd)
        ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" "wan"
        ;;
 
-smart-300 | \
+r6100 |\
+smart-300 |\
 tl-mr3420-v2 |\
 tl-wr841n-v8 |\
 tl-wr842n-v2 |\
 wnr2000-v3 |\
+wnr2000-v4 |\
 wnr2200 |\
 wnr612-v2)
        ucidef_set_interfaces_lan_wan "eth1" "eth0"
@@ -213,9 +223,10 @@ wnr612-v2)
        ;;
 
 uap-pro)
-       ucidef_set_interface_lan "eth0"
+       ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
        ucidef_add_switch "switch0" "1" "1"
-       ucidef_add_switch_vlan "switch0" "1" "0 1 2"
+       ucidef_add_switch_vlan "switch0" "1" "0t 1"
+       ucidef_add_switch_vlan "switch0" "2" "0t 2"
        ;;
 
 nanostation-m-xw)
@@ -237,6 +248,7 @@ wzr-hp-g300nh)
        ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 5t"
        ;;
 
+dgl-5500-a1 |\
 dir-825-c1)
        local mac
        ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
@@ -257,6 +269,7 @@ mynet-n750)
        [ -n "$mac" ] && ucidef_set_interface_macaddr "wan" "$mac"
        ;;
 
+dhp-1565-a1 |\
 dir-835-a1 |\
 wndr3700v4 | \
 wndr4300)
@@ -289,6 +302,8 @@ eap7660d |\
 loco-m-xw |\
 mr600 |\
 mr600v2 |\
+mr900 |\
+mr900v2 |\
 rb-411 |\
 rb-911g-2hpnd |\
 rb-911g-5hpnd |\
@@ -347,6 +362,7 @@ hiwifi-hc6361 |\
 ja76pf |\
 mynet-n600 |\
 oolite |\
+qihoo-c301 |\
 rb-750 |\
 rb-751 |\
 tew-632brp |\