Re: [PATCH net-next v13 05/11] net: mdio: realtek-rtl9300: Configure hardware polling during probing
Andrew Lunn <[email protected]>
| Newsgroups | org.kernel.vger.netdev,org.kernel.vger.linux-devicetree |
|---|---|
| Message-ID | <[email protected]> |
> This polling enabling/disabling does not solve the current inability
> of the driver to handle C45-over-C22 access during normal operation.
> For all existing designs this is not needed.
How about adding a WARN_ONCE(regnum == MII_MMD_CTRL || regnum ==
MII_MMD_DATA) and return -ENOTSUPP.
That makes it clear it is not supported, and any attempts fail, rather
than cause silent corruption.
Andrew