[OpenWrt-Devel] [PATCH] ramips: fix port display for TRENDnet TEW-810DR

mail at adrianschmutzler.de mail at adrianschmutzler.de
Fri Jun 12 06:42:41 EDT 2020


Hi,

> -----Original Message-----
> From: openwrt-devel [mailto:openwrt-devel-bounces at lists.openwrt.org]
> On Behalf Of Heppler, J. Scott
> Sent: Freitag, 12. Juni 2020 04:37
> To: openwrt-devel at openwrt.org
> Subject: [OpenWrt-Devel] [PATCH] ramips: fix port display for TRENDnet
> TEW-810DR
> 
> Was unable to communicate TEW-810DR port order was inverted similar to
> the D-Link DIR-810L.  Tested - Patch corrects port order.

just to make the history clear, so we do it right this time:

patchstate "1":
Your initial device support. Both devices had a "Portorder A", which Roger reported to be inverted.

patchstate "2":
I provided two patches in my staging area, where the port order (for LuCI) was inverted for _both_ devices; let's call it "Portorder B".
Roger confirmed that this port order is correct on the DIR-810L.

patchstate "3":
I pushed a different patch to master, where only the port order for DIR-810L was inverted. This is the current state of the OpenWrt master, i.e.
DIR-810L: portorder B
TEW-810DR: portorder A

From your e-mail from two/three days ago, I was under the impression that you tested with patchstate 2 and told me that the port order B is inverted for your device. So I kept it at portorder A.

This patch, in contrast, will change your device to portorder "B", matching the one of DIR-810L in master.

So, taking this history into account, please confirm (either just to me or to the list) that your patch is actually doing the right thing and then we may finally settle this :-)

Best

Adrian

> 
> Signed-off-by: J. Scott Heppler <shep971 at centurylink.net>
> ---
>   target/linux/ramips/mt7620/base-files/etc/board.d/02_network | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/target/linux/ramips/mt7620/base-files/etc/board.d/02_network
> b/target/linux/ramips/mt7620/base-files/etc/board.d/02_network
> index c70e4ff8e4..f85b7cfed1 100755
> --- a/target/linux/ramips/mt7620/base-files/etc/board.d/02_network
> +++ b/target/linux/ramips/mt7620/base-files/etc/board.d/02_network
> @@ -25,7 +25,6 @@ ramips_setup_interfaces()
>   	ralink,mt7620a-mt7610e-evb|\
>   	ralink,mt7620a-v22sg-evb|\
>   	sanlinking,d240|\
> -	trendnet,tew-810dr|\
>   	youku,yk1|\
>   	zbtlink,zbt-ape522ii|\
>   	zbtlink,zbt-we826-16m|\
> @@ -109,6 +108,7 @@ ramips_setup_interfaces()
>   			"0:lan" "6 at eth0"
>   		;;
>   	dlink,dir-810l|\
> +	trendnet,tew-810dr|\
>   	zbtlink,zbt-we2026)
>   		ucidef_add_switch "switch0" \
>   			"0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "4:wan"
> "6 at eth0"
> --
> 2.20.1
> 
> 
> --
> J. Scott Heppler
> 
> _______________________________________________
> 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/20200612/d689a9da/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