Hi, have you verified this for both devices (rt-ac65p and rt-ac85p)?
I've added Birger Koblitz to recipients (RT-AC85P author). Best Adrian > -----Original Message----- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On > Behalf Of varga...@gmail.com > Sent: Montag, 9. Dezember 2019 23:04 > To: openwrt-devel@lists.openwrt.org > Cc: yn...@true.cz; gch981...@gmail.com; Gabor Varga <varga...@gmail.com> > Subject: [OpenWrt-Devel] [PATCH] ramips: fix switch port numbering for RT- > AC65P/RT-AC85P > > From: Gabor Varga <varga...@gmail.com> > > The switch LAN port numbers are in reversed order with original config. > With this patch they are fixed. > > Signed-off-by: Gabor Varga <varga...@gmail.com> > --- > .../linux/ramips/mt7621/base-files/etc/board.d/02_network | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network > b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network > index 420780a101..42cdb4d57f 100755 > --- a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network > +++ b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network > @@ -37,6 +37,11 @@ ramips_setup_interfaces() > ucidef_add_switch "switch0" \ > "0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "6@eth0" > ;; > + asus,rt-ac65p|\ > + asus,rt-ac85p) > + ucidef_add_switch "switch0" \ > + "1:lan:1" "2:lan:2" "3:lan:3" "4:lan:4" "0:wan" "6@eth0" > + ;; > alfa-network,quad-e4g|\ > netgear,r6220|\ > netgear,r6260|\ > @@ -64,8 +69,6 @@ ramips_setup_interfaces() > ucidef_add_switch "switch0" \ > "1:lan" "2:lan" "3:lan" "4:lan" "0:wan" "6@eth0" > ;; > - asus,rt-ac65p|\ > - asus,rt-ac85p|\ > dlink,dir-860l-b1|\ > elecom,wrc-1167ghbk2-s|\ > elecom,wrc-1900gst|\ > -- > 2.24.0 > > > _______________________________________________ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/mailman/listinfo/openwrt-devel
openpgp-digital-signature.asc
Description: PGP signature
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel