From: Christian Lamparter Date: Tue, 19 Jul 2022 17:46:38 +0000 (+0200) Subject: ipq806x: Archer VR2600: fix switch ports numbering X-Git-Tag: v21.02.4~62 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09dae4feac941f3a6190cf361479bf8b2ba194bf;p=thirdparty%2Fopenwrt.git ipq806x: Archer VR2600: fix switch ports numbering 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 (cherry picked from commit 69ea671320c936e72f554348475eeebcab383b42) --- diff --git a/target/linux/ipq806x/base-files/etc/board.d/02_network b/target/linux/ipq806x/base-files/etc/board.d/02_network index 1e00b970928..d6c2c0e5c2e 100755 --- a/target/linux/ipq806x/base-files/etc/board.d/02_network +++ b/target/linux/ipq806x/base-files/etc/board.d/02_network @@ -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" ;;