Re: [PATCH net-next v2 0/9] Allow isolating PHY devices
From: Andrew Lunn
Date: Mon Oct 07 2024 - 12:43:58 EST
> Looking at 802.3, there is no support for isolation in the clause 45
> register set - the isolate bit only appears in the clause 22 BMCR.
> Clause 22 registers are optional for clause 45 PHYs.
That was also an observation i had, the code goes straight to C22
operations, without even considering if the PHY has phydev->is_c45 is
set. I think we need an op for this, which will default to NULL. The
driver can then opt-in by using the genphy function, or its own driver
method.
But lets get the big picture understood first, before we focus on the
details.
Andrew