brcm63xx: base-files: rename board_name to board_id
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / base-files / etc / uci-defaults / 02_network
old mode 100755 (executable)
new mode 100644 (file)
index f59fed6..b41ee7e
@@ -12,12 +12,13 @@ touch /etc/config/network
 
 ucidef_set_interface_loopback
 
-case "$board_name" in
+case "$board_id" in
 
-RTA770BW |\
-RTA770W |\
 96348W3 |\
 96358-502V |\
+CVG834G_E15R3921 |\
+RTA770BW |\
+RTA770W |\
 SPW500V)
        ucidef_set_interface_lan "eth0"
        ;;
@@ -27,6 +28,7 @@ SPW500V)
 96338W2_E7T |\
 96348A-122 |\
 96348W3 |\
+AR1004G |\
 CPVA642 |\
 CT536_CT5621 |\
 CT6373-1 |\
@@ -50,7 +52,6 @@ AGPF-S0 |\
 DV201AMR |\
 DWV-S0 |\
 "F@ST2404" |\
-HW553 |\
 MAGIC |\
 RTA1025W_16 |\
 V2500V_BB)
@@ -60,6 +61,7 @@ V2500V_BB)
        ;;
 
 AW4139 |\
+HW553 |\
 HW556*)
        ucidef_set_interface_lan "eth0.1"
        ucidef_add_switch "eth0" "1" "1"
@@ -67,7 +69,8 @@ HW556*)
        ;;
 
 NB4-* |\
-DVG3810BN)
+DVG3810BN |\
+HW6358GW_B)
        ucidef_set_interfaces_lan_wan "eth1.1" "eth0"
        ucidef_add_switch "eth1" "1" "1"
        ucidef_add_switch_vlan "eth1" "1" "0 1 2 3 4 5t"
@@ -78,7 +81,15 @@ DVG3810BN)
 96328A-1441N1 |\
 963281TAN |\
 963281T_TEF |\
-96368MVNgr)
+96328dg2x2 |\
+96368M-1341N |\
+96368M-1541N |\
+96368MVNgr |\
+AW4339U |\
+AW5200B |\
+"F@ST2504n" |\
+"F@ST2704V2" |\
+P870HW-51a_v2)
        ucidef_set_interface_lan "eth0.1"
        ucidef_add_switch "eth0" "1" "1"
        ucidef_add_switch_vlan "eth0" "1" "0 1 2 3 8t"
@@ -90,6 +101,20 @@ DVG3810BN)
        ucidef_add_switch_vlan "eth0" "1" "1 2 4 5 8t"
        ;;
 
+96369R-1231N)
+       ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
+       ucidef_add_switch "eth0" "1" "1"
+       ucidef_add_switch_vlan "eth0" "1" "0 1 2 3 5t"
+       ucidef_add_switch_vlan "eth0" "2" "4 5t"
+       ;;
+
+DGND3700v1_3800B)
+       ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
+       ucidef_add_switch "eth0" "1" "1"
+       ucidef_add_switch_vlan "eth0" "1" "1 2 3 4 8t"
+       ucidef_add_switch_vlan "eth0" "2" "0 8t"
+       ;;
+
 NB6)
        ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
        ucidef_add_switch "switch0" "1" "1"
@@ -97,6 +122,19 @@ NB6)
        ucidef_add_switch_vlan "switch0" "2" "0 9t"
        ;;
 
+VW6339GU)
+       ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
+       ucidef_add_switch "switch0" "1" "1"
+       ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 8t"
+       ucidef_add_switch_vlan "switch0" "2" "4 8t"
+       ;;
+
+963268BU_P300)
+       ucidef_set_interface_lan "eth0.1"
+       ucidef_add_switch "switch0" "1" "1"
+       ucidef_add_switch_vlan "switch0" "1" "0 3 4 5 6 7 8t"
+       ;;
+
 *)
        ucidef_set_interfaces_lan_wan "eth1" "eth0"
        ;;