ar71xx: detect ALL0315N board
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / base-files / etc / uci-defaults / network
index 3863705f86447999063ee3ed5fc36b20faccfe8e..f251f4c1b9fa8200c0ce892666f72a0a689a3f74 100755 (executable)
@@ -15,6 +15,7 @@ ucidef_set_interface_loopback
 board=$(ar71xx_board_name)
 
 case "$board" in
+all0315n |\
 all0258n |\
 ja76pf2)
        ucidef_set_interface_lan "eth0 eth1"
@@ -62,6 +63,7 @@ routerstation-pro)
        ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 4"
        ;;
 
+ap136 |\
 rb-750gl |\
 rb-751g |\
 wzr-hp-g450h)
@@ -89,6 +91,14 @@ ap113)
        ucidef_add_switch_vlan "eth0" "2" "0t 2"
        ;;
 
+tl-wdr4300|\
+tl-wr1041n-v2)
+       ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
+       ucidef_add_switch "eth0" "1" "1"
+       ucidef_add_switch_vlan "eth0" "1" "0t 2 3 4 5"
+       ucidef_add_switch_vlan "eth0" "2" "0t 1"
+       ;;
+
 tl-wr1043nd)
        ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
        ucidef_add_switch "rtl8366rb" "1" "1"
@@ -121,9 +131,11 @@ wzr-hp-g300nh)
        ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 5t"
        ;;
 
+all0305 |\
 aw-nr580 |\
 bullet-m |\
 eap7660d |\
+ew-dorin |\
 rb-411 |\
 tl-mr11u |\
 tl-mr3020 |\
@@ -156,6 +168,7 @@ ja76pf |\
 rb-750 |\
 rb-751 |\
 tew-632brp |\
+tew-712br |\
 tl-mr3220 |\
 tl-mr3420 |\
 tl-wr741nd |\
@@ -177,6 +190,12 @@ wzr-hp-g450h)
        ucidef_add_switch_vlan "eth0" "2" "0t 1"
        ;;
 
+ew-dorin-router)
+       ucidef_set_interfaces_lan_wan "eth0" "eth1"
+       ucidef_add_switch "eth0" "1" "1"
+       ucidef_add_switch_vlan "eth0" "1" "0 2 3"
+       ;;
+
 *)
        ucidef_set_interfaces_lan_wan "eth0" "eth1"
        ;;