Re: [PATCH net-next 3/8] net: mscc: Add MDIO driver
From: Andrew Lunn <andrew@lunn.ch>
Date: 2018-03-29 14:57:35
Also in:
linux-devicetree, linux-mips, lkml
From: Andrew Lunn <andrew@lunn.ch>
Date: 2018-03-29 14:57:35
Also in:
linux-devicetree, linux-mips, lkml
quoted
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