ipq806x: Archer VR2600: fix switch ports numbering
authorChristian Lamparter <chunkeey@gmail.com>
Tue, 19 Jul 2022 17:46:38 +0000 (19:46 +0200)
committerChristian Lamparter <chunkeey@gmail.com>
Fri, 22 Jul 2022 22:25:50 +0000 (00:25 +0200)
The order of LAN ports shown in Luci is reversed compared to what is
written on the case of the device.  Fix the order so that they match.

Fixes: #10275
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
(cherry picked from commit 69ea671320c936e72f554348475eeebcab383b42)

target/linux/ipq806x/base-files/etc/board.d/02_network

index 1e00b9709286ed864d1f272762aaeec6e7a1c316..d6c2c0e5c2e7c72c82ee48a5f69cc30ebc1b585b 100755 (executable)
@@ -22,8 +22,7 @@ compex,wpq864 |\
 netgear,d7800 |\
 netgear,r7500 |\
 netgear,r7500v2 |\
-qcom,ipq8064-ap148 |\
-tplink,vr2600v)
+qcom,ipq8064-ap148)
        ucidef_add_switch "switch0" \
                "1:lan" "2:lan" "3:lan" "4:lan" "6@eth1" "5:wan" "0@eth0"
        ;;
@@ -51,7 +50,8 @@ nec,wg2600hp3)
                "2:lan" "3:lan" "4:lan" "5:lan" "0@eth1" "1:wan" "6@eth0"
        ;;
 netgear,r7800 |\
-tplink,c2600)
+tplink,c2600 |\
+tplink,vr2600v)
        ucidef_add_switch "switch0" \
                "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "6@eth1" "5:wan" "0@eth0"
        ;;