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>
This commit is contained in:
Mathias Kresin 2018-06-21 20:45:53 +02:00
parent ed40173dfc
commit 004fe89620

View file

@ -191,7 +191,7 @@ arcadyan,vg3503j)
lan_mac=$(mtd_get_mac_ascii uboot-env ethaddr) lan_mac=$(mtd_get_mac_ascii uboot-env ethaddr)
wan_mac=$(macaddr_add "$lan_mac" 1) wan_mac=$(macaddr_add "$lan_mac" 1)
ucidef_add_switch "switch0" \ ucidef_add_switch "switch0" \
"2:lan:1" "4:lan:2" "6t@eth0" "2:lan:2" "4:lan:1" "6t@eth0"
;; ;;
tplink,vr200v) tplink,vr200v)