Re: [PATCH net-next 3/4] net: phy: mscc-miim: improve waiting logic

2020-05-26 Thread Florian Fainelli
On 5/26/2020 9:22 AM, Antoine Tenart wrote: > The MSCC MIIM MDIO driver uses a waiting logic to wait for the MDIO bus > to be ready to accept next commands. It does so by polling the BUSY > status bit which indicates the MDIO bus has completed all pending > operations. This can take time, and th

Re: [PATCH net-next 3/4] net: phy: mscc-miim: improve waiting logic

2020-05-26 Thread Alexandre Belloni
On 26/05/2020 18:22:55+0200, Antoine Ténart wrote: > The MSCC MIIM MDIO driver uses a waiting logic to wait for the MDIO bus > to be ready to accept next commands. It does so by polling the BUSY > status bit which indicates the MDIO bus has completed all pending > operations. This can take time, an

[PATCH net-next 3/4] net: phy: mscc-miim: improve waiting logic

2020-05-26 Thread Antoine Tenart
The MSCC MIIM MDIO driver uses a waiting logic to wait for the MDIO bus to be ready to accept next commands. It does so by polling the BUSY status bit which indicates the MDIO bus has completed all pending operations. This can take time, and the controller supports writing the next command as soon