lantiq: add support for ZyXEL P2601HNFX
[openwrt.git] / target / linux / lantiq / base-files / etc / uci-defaults / 02_network
old mode 100755 (executable)
new mode 100644 (file)
index 06390a7..2cf16f3
@@ -58,10 +58,10 @@ ACMP252|GIGASX76X)
        ;;
 
 # ar8316
-ARV4519PW|ARV7518PW)
+ARV4519PW|ARV7518PW|ARV752DPW22)
        ucidef_set_interface_lan "eth0.1"
-       ucidef_add_switch "eth0" "1" "1"
-       ucidef_add_switch_vlan "eth0" "1" "0t 2 3 4 5"
+       ucidef_add_switch "switch0" "1" "1"
+       ucidef_add_switch_vlan "switch0" "1" "0t 2 3 4 5"
        ;;
 
 WBMR)
@@ -70,7 +70,31 @@ WBMR)
        ;;
 
 VG3503J)
-       ucidef_set_interface_lan 'eth0 eth1'
+       ucidef_set_interface_lan 'eth0'
+       uci set network.lan.type='none'
+       ;;
+
+DGN3500*)
+       ucidef_set_interface_lan "eth0.1"
+       ucidef_add_switch "switch0" "1" "1"
+       ucidef_add_switch_vlan "switch0" "1" "3 2 1 0 5t"
+       ;;
+
+GR7000)
+       ucidef_set_interface_wan "eth0"
+       uci set network.lan.ifname=''
+       ;;
+
+H201L)
+       ucidef_set_interface_lan "eth0.1"
+       ucidef_add_switch "switch0" "1" "1"
+       ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 4t"
+       ;;
+
+P2601HNFX)
+       ucidef_set_interface_lan "eth0.1"
+       ucidef_add_switch "switch0" "1" "1"
+       ucidef_add_switch_vlan "switch0" "1" "1 2 3 4 5t"
        ;;
 esac