aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/base-files
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2013-08-06 10:17:16 +0000
committerLuka Perkov <luka@openwrt.org>2013-08-06 10:17:16 +0000
commit38c3bb5bc18ab66acb32360bbccf202b0a5cf2b9 (patch)
tree6ffd873d43f14dfb6988f834aa699e73b3d15972 /target/linux/lantiq/base-files
parenteb8992fc75e7ae5c1255519e60a94e7db4eed469 (diff)
downloadupstream-38c3bb5bc18ab66acb32360bbccf202b0a5cf2b9.tar.gz
upstream-38c3bb5bc18ab66acb32360bbccf202b0a5cf2b9.tar.bz2
upstream-38c3bb5bc18ab66acb32360bbccf202b0a5cf2b9.zip
lantiq: add (incomplete) support for Aztech GR7000
*) can not connect to switch chip *) only one usb port is working *) wifi is not working Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37712 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq/base-files')
-rwxr-xr-xtarget/linux/lantiq/base-files/etc/uci-defaults/02_network6
1 files changed, 6 insertions, 0 deletions
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 f5401c3edd..6b0093c70b 100755
--- a/target/linux/lantiq/base-files/etc/uci-defaults/02_network
+++ b/target/linux/lantiq/base-files/etc/uci-defaults/02_network
@@ -73,11 +73,17 @@ VG3503J)
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=''
+ ;;
esac
[ -z "$(ls /lib/modules/`uname -r`/ltq_atm*)" ] || set_atm_wan "$vpi" "$vci" "$encaps" "$payload"