diff options
author | luka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-09-19 00:50:44 +0000 |
---|---|---|
committer | luka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-09-19 00:50:44 +0000 |
commit | 0f474b45a7bf065534a4ee4081a26525dd1173a7 (patch) | |
tree | 1f0981e074d0f16e8cb4b3d6baeb0ecd45d3316b /target/linux/lantiq/base-files/etc | |
parent | a53770c6e5cd4e9c180346f9dd3dfcb00f5c86a6 (diff) |
lantiq: add support for ZTE H201L
Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38048 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq/base-files/etc')
-rw-r--r--[-rwxr-xr-x] | target/linux/lantiq/base-files/etc/uci-defaults/01_leds | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | target/linux/lantiq/base-files/etc/uci-defaults/02_network | 6 |
2 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/lantiq/base-files/etc/uci-defaults/01_leds b/target/linux/lantiq/base-files/etc/uci-defaults/01_leds index e525ebdff2..e525ebdff2 100755..100644 --- a/target/linux/lantiq/base-files/etc/uci-defaults/01_leds +++ b/target/linux/lantiq/base-files/etc/uci-defaults/01_leds diff --git a/target/linux/lantiq/base-files/etc/uci-defaults/02_network b/target/linux/lantiq/base-files/etc/uci-defaults/02_network index 6b0093c70b..a5cf212dde 100755..100644 --- a/target/linux/lantiq/base-files/etc/uci-defaults/02_network +++ b/target/linux/lantiq/base-files/etc/uci-defaults/02_network @@ -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" |