summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorluka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-09-06 00:09:46 +0000
committerluka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-09-06 00:09:46 +0000
commit507c46269b6d02691e3de580a4ac9965b274ef8a (patch)
tree8426e2b9fc111b694d6789888bbacafb164dc36d /target
parentd6378b5278ab4f35c539c0797fc6603a62b5a04c (diff)
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')
-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"