Re: [PATCH v2 1/4] net: macb: Check MDIO state before read/write and use timeouts

From: Andrew Lunn
Date: Tue Nov 27 2018 - 19:35:08 EST


> Then, do you think it would be better to have a new API part of struct
> mii_bus that drivers should register so that, the mii core to check if the
> bus is idle before lunching a new request?

I'm not sure that actually brings anything useful. The core does not
benefit from it, and it does not make the driver simpler.

Andrew