lantiq: add support for ZTE H201L
[openwrt/openwrt.git] / target / linux / lantiq / base-files / etc / uci-defaults / 02_network
old mode 100755 (executable)
new mode 100644 (file)
index 6b0093c..a5cf212
@@ -84,6 +84,12 @@ 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"
+       ;;
 esac
 
 [ -z "$(ls /lib/modules/`uname -r`/ltq_atm*)" ] || set_atm_wan "$vpi" "$vci" "$encaps" "$payload"