Thread (16 messages) 16 messages, 4 authors, 21d ago

Re: [PATCH net-next v4 3/8] net: dsa: motorcomm: Identify port type at runtime

flat view

From: Andrew Lunn <andrew@lunn.ch>
Date: 2026-09-25 14:57:28
Also in: lkml

On Wed, Sep 23, 2026 at 10:19:35AM +0800, David Yang wrote:
The yt921x_port_is_internal/external() macros hardcoded the port layout:
they treat ports 8 and 9 as external on every chip and count the dummy
ports as internal.

Identify the actual port capabilities using chip info and track
configuration of external ports (although only SerDes is supported now).
This is a hardening and cleanup step ahead of the SerDes PCS support, no
behavior changes intended.

Signed-off-by: David Yang <mmyangfl@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help