Re: [PATCH net] net: mdio-mux: fix C45 access returning -EIO after API change

From: Andrew Lunn
Date: Tue Oct 17 2023 - 09:45:17 EST


> Maybe make these conditional on the parent bus implementing the c45
> read/write ops?

And optionally, for net-next, make the c22 read/write ops conditional
on the parent bus having C22 as well. Its a bit of a corner case, but
there are a couple of MDIO bus masters which are C45 only.

Not having C45 is however very common, so we should make this
conditional as part of the fix.

Andrew