Re: [PATCH net-next 3/8] net: mscc: Add MDIO driver

From: Andrew Lunn
Date: Thu Mar 29 2018 - 10:57:40 EST


> > It sounds like the correct fix is for get_phy_id() to look at the
> > error code for mdiobus_read(bus, addr, MII_PHYSID1). If it is EIO and
> > maybe ENODEV, set *phy_id to 0xffffffff and return. The scan code
> > should then do the correct thing.
> >
>
> That could work indeed. Do you want me to test and send a patch?

Yes please.

Thanks
Andrew