[OpenWrt-Devel] [PATCH] ramips: fix switch port numbering for RT-AC65P/RT-AC85P

Adrian Schmutzler mail at adrianschmutzler.de
Tue Dec 10 06:39:10 EST 2019


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-bounces at lists.openwrt.org] On
> Behalf Of vargagab at gmail.com
> Sent: Montag, 9. Dezember 2019 23:04
> To: openwrt-devel at lists.openwrt.org
> Cc: ynezz at true.cz; gch981213 at gmail.com; Gabor Varga <vargagab at gmail.com>
> Subject: [OpenWrt-Devel] [PATCH] ramips: fix switch port numbering for RT-
> AC65P/RT-AC85P
> 
> From: Gabor Varga <vargagab at 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 <vargagab at 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 at 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 at 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 at 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 at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20191210/36800e3e/attachment.sig>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list