From: Christian Lamparter Date: Tue, 19 Jul 2022 17:46:38 +0000 (+0200) Subject: ipq806x: Archer VR2600: fix switch ports numbering X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=69ea671320c936e72f554348475eeebcab383b42;p=openwrt%2Fstaging%2Fnbd.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 --- 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 dc9c11e4ba..dbff854731 100644 --- a/target/linux/ipq806x/base-files/etc/board.d/02_network +++ b/target/linux/ipq806x/base-files/etc/board.d/02_network @@ -27,8 +27,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" ;; @@ -61,7 +60,8 @@ nec,wg2600hp3) ;; netgear,r7800 |\ netgear,xr500 |\ -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" ;;