Thread (22 messages) 22 messages, 2 authors, 2026-05-20

Re: [PATCH net-next v10 4/9] net: phy: Create SFP phy_port before registering upstream

From: Andrew Lunn <andrew@lunn.ch>
Date: 2026-05-14 13:46:09
Also in: lkml

On Wed, May 13, 2026 at 03:05:15PM +0200, Maxime Chevallier wrote:
When dealing with PHY-driven SFP, we create a phy_port representing the
SFP bus when we know we have such a bus.

We can move the port creation before registering the sfp upstream ops,
as long as we know the SFP bus is there. This will allow passing the
phy_port along with the upstream information to the SFP bus.

Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.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