Re: [PATCH net-next v1 1/5] net: phy: realtek: add support for dummy phy
From: Andrew Lunn
Date: Wed Jun 03 2026 - 09:24:36 EST
> You are exactly right. The PHY doesn't actually exist; what we have
> is an internal PCS.
...
> I actually tried to migrate it to
> phylink before. However, the current driver codebase is deeply
> coupled with tp->phydev in many places. Decoupling it may introduce
> bugs for numerous existing devices. Therefore, I want to try to
> expose the internal PCS as a dummy PHY device.
Architecturally, you are going down a dead end. You really should be
using phylink.
I don't see anything too scary with tp->phydev in the driver. Are
there parts you think are going to be a problem with phylink?
Andrew