aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/base-files
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
commit73a4aa94e78df9a16a34e6f0f255e8a51f3bb44e (patch)
tree1f0981e074d0f16e8cb4b3d6baeb0ecd45d3316b /target/linux/lantiq/base-files
parent18f807fbc53c99af441867c9de92bef7f91b1767 (diff)
downloadupstream-73a4aa94e78df9a16a34e6f0f255e8a51f3bb44e.tar.gz
upstream-73a4aa94e78df9a16a34e6f0f255e8a51f3bb44e.tar.bz2
upstream-73a4aa94e78df9a16a34e6f0f255e8a51f3bb44e.zip
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')
-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"