Re: [PATCH net-next v2 2/2] net: phy: add DAPU Telecom DAP8210R(I) Gigabit Ethernet PHY driver

From: Andrew Lunn

Date: Thu Jul 16 2026 - 10:05:45 EST


> + /* Wait for reset self-clear */
> + do {
> + fsleep(20);
> + ret = dap8211r_read_ext(phydev, DAP8211R_PHY_CON);
> + if (ret < 0)
> + return ret;
> + } while (!(ret & DAP8211R_PHY_SW_RST) && --retries);

This does not have the usual problem, but it is still better to use
something from iopoll.h.

Andrew