RE: [PATCH net-next v1 1/5] net: phy: realtek: add support for dummy phy
From: Javen
Date: Fri Jun 05 2026 - 05:51:43 EST
Hi,
>> 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
Thanks for your suggestion.
Since I am not very familiar with phylink, so I may have been too conservative about the migration. I have prepared a version using phylink and will submit it for review.
Any comments or suggestions would be very helpful.
Thanks,
BRs,
Javen