aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq
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:00:03 +0200
commit004fe8962090aba170b866aaba5526d4f96c8d6d (patch)
tree1d2a02d692ce0decda1307fe6b761d75bb429791 /target/linux/lantiq
parented40173dfcbc8a870d1747dea3f9a265d0205369 (diff)
downloadupstream-004fe8962090aba170b866aaba5526d4f96c8d6d.tar.gz
upstream-004fe8962090aba170b866aaba5526d4f96c8d6d.tar.bz2
upstream-004fe8962090aba170b866aaba5526d4f96c8d6d.zip
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>
Diffstat (limited to 'target/linux/lantiq')
-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 9da01d14cc..6e2e1934ae 100755
--- a/target/linux/lantiq/base-files/etc/board.d/02_network
+++ b/target/linux/lantiq/base-files/etc/board.d/02_network
@@ -191,7 +191,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)