Re: [PATCH net-next v8 10/11] r8152: add TGPHY register access for RTL8157 and RTL8159

From: Andrew Lunn

Date: Fri Nov 20 2026 - 08:22:00 EST


> The root cause there is also that
> the MII library does not check the errno, so a future patch could make the MII APIs
> check the mdio_read() return value and propagate the error.

The MII library is deprecated. It is not maintained. It will not be
changed unless it is really broken, and by that i mean it breaks
802.3.

All feature development work should be done on phylink and phylib.

Andrew