aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/base-files/etc/uci-defaults
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2012-09-06 00:09:46 +0000
committerLuka Perkov <luka@openwrt.org>2012-09-06 00:09:46 +0000
commitaeec5aa62fee50eeee8e6f5e8b6e33649452f2a0 (patch)
tree8426e2b9fc111b694d6789888bbacafb164dc36d /target/linux/lantiq/base-files/etc/uci-defaults
parentde8a1fe7015e3aa793bb36a4a83152c2099927fd (diff)
downloadupstream-aeec5aa62fee50eeee8e6f5e8b6e33649452f2a0.tar.gz
upstream-aeec5aa62fee50eeee8e6f5e8b6e33649452f2a0.tar.bz2
upstream-aeec5aa62fee50eeee8e6f5e8b6e33649452f2a0.zip
lantiq: fix sx76x default uci network configuration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33324 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq/base-files/etc/uci-defaults')
-rwxr-xr-xtarget/linux/lantiq/base-files/etc/uci-defaults/network9
1 files changed, 8 insertions, 1 deletions
diff --git a/target/linux/lantiq/base-files/etc/uci-defaults/network b/target/linux/lantiq/base-files/etc/uci-defaults/network
index 8ea0798295..b40134d934 100755
--- a/target/linux/lantiq/base-files/etc/uci-defaults/network
+++ b/target/linux/lantiq/base-files/etc/uci-defaults/network
@@ -53,13 +53,20 @@ dsl=$(lantiq_soc_has_adsl)
case "$board" in
# annex B with adm6996
-ARV4520PW|GIGASX76X)
+ARV4520PW)
ucidef_set_interface_lan "eth0.1"
ucidef_add_switch "eth0" "1" "1"
ucidef_add_switch_vlan "eth0" "1" "3 2 1 0 5t"
set_adsl "b" "b2p"
;;
+GIGASX76X)
+ ucidef_set_interface_lan "eth0.1"
+ ucidef_add_switch "eth0" "1" "1"
+ ucidef_add_switch_vlan "eth0" "1" "4 3 2 1 5t"
+ set_adsl "b" "b2p"
+ ;;
+
# annex A with ar8316
ARV4519PW|ARV7518PW)
ucidef_set_interface_lan "eth0.1"