summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2018-06-21 20:45:53 +0200
committerMathias Kresin <dev@kresin.me>2018-06-21 22:01:33 +0200
commitc276abf061bc9ebd96b80d2021d445de66a29011 (patch)
tree62c0dec20f022727c799177efb5dd7a04795c7e6
parent7950e1b9f47417bcd4b80e4361dfc6dccb000ba7 (diff)
downloadmtk-20170518-c276abf061bc9ebd96b80d2021d445de66a29011.zip
mtk-20170518-c276abf061bc9ebd96b80d2021d445de66a29011.tar.gz
mtk-20170518-c276abf061bc9ebd96b80d2021d445de66a29011.tar.bz2
lantiq: fix arcadyan vg3503j switch port indexing
Both version of the vg3503j have the LAN1 labelled port connected to switch port 4 and the LAN2 labelled port connected to switch port 2. Signed-off-by: Mathias Kresin <dev@kresin.me>
-rwxr-xr-xtarget/linux/lantiq/base-files/etc/board.d/02_network2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/lantiq/base-files/etc/board.d/02_network b/target/linux/lantiq/base-files/etc/board.d/02_network
index ca974b0..31eec37 100755
--- a/target/linux/lantiq/base-files/etc/board.d/02_network
+++ b/target/linux/lantiq/base-files/etc/board.d/02_network
@@ -188,7 +188,7 @@ arcadyan,vg3503j)
lan_mac=$(mtd_get_mac_ascii uboot-env ethaddr)
wan_mac=$(macaddr_add "$lan_mac" 1)
ucidef_add_switch "switch0" \
- "2:lan:1" "4:lan:2" "6t@eth0"
+ "2:lan:2" "4:lan:1" "6t@eth0"
;;
tplink,vr200v)