summaryrefslogtreecommitdiff
path: root/target/linux/lantiq/base-files
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
commit4c76b3635b574406d09379c8a297cd17e7987610 (patch)
tree3587d3bb1493501899f1d021436bd9274d0ea5b3 /target/linux/lantiq/base-files
parent3730e6c7947ec9cdb9e5118a1f75eebdc80539b7 (diff)
downloadmtk-20170518-4c76b3635b574406d09379c8a297cd17e7987610.zip
mtk-20170518-4c76b3635b574406d09379c8a297cd17e7987610.tar.gz
mtk-20170518-4c76b3635b574406d09379c8a297cd17e7987610.tar.bz2
lantiq: fix sx76x default uci network configuration
SVN-Revision: 33324
Diffstat (limited to 'target/linux/lantiq/base-files')
-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 8ea0798..b40134d 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"