aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/base-files/etc
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2013-09-19 00:50:44 +0000
committerLuka Perkov <luka@openwrt.org>2013-09-19 00:50:44 +0000
commit7d2c5682b9bd626759daba4f39b1f7e21c06421b (patch)
treeaf136a911bc6268595ee94325e8a5d40211f861e /target/linux/lantiq/base-files/etc
parentda01479d733cf42a0ba1c4c8c00165f41e1e2217 (diff)
downloadupstream-7d2c5682b9bd626759daba4f39b1f7e21c06421b.tar.gz
upstream-7d2c5682b9bd626759daba4f39b1f7e21c06421b.tar.bz2
upstream-7d2c5682b9bd626759daba4f39b1f7e21c06421b.zip
lantiq: add support for ZTE H201L
Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38048
Diffstat (limited to 'target/linux/lantiq/base-files/etc')
-rw-r--r--[-rwxr-xr-x]target/linux/lantiq/base-files/etc/uci-defaults/01_leds0
-rw-r--r--[-rwxr-xr-x]target/linux/lantiq/base-files/etc/uci-defaults/02_network6
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"