Re: [PATCH net 2/2] net: phy: Check harder for errors in get_phy_id()

2020-06-19 Thread Florian Fainelli
On 6/19/2020 6:30 AM, Russell King - ARM Linux admin wrote: > On Fri, Jun 19, 2020 at 03:26:59PM +0200, Andrew Lunn wrote: >> On Thu, Jun 18, 2020 at 09:47:59PM -0700, Florian Fainelli wrote: >>> Commit 02a6efcab675 ("net: phy: allow scanning busses with missing >>> phys") added a special

Re: [PATCH net 2/2] net: phy: Check harder for errors in get_phy_id()

2020-06-19 Thread Russell King - ARM Linux admin
On Fri, Jun 19, 2020 at 03:26:59PM +0200, Andrew Lunn wrote: > On Thu, Jun 18, 2020 at 09:47:59PM -0700, Florian Fainelli wrote: > > Commit 02a6efcab675 ("net: phy: allow scanning busses with missing > > phys") added a special condition to return -ENODEV in case -ENODEV or > > -EIO was returned

Re: [PATCH net 2/2] net: phy: Check harder for errors in get_phy_id()

2020-06-19 Thread Andrew Lunn
On Thu, Jun 18, 2020 at 09:47:59PM -0700, Florian Fainelli wrote: > Commit 02a6efcab675 ("net: phy: allow scanning busses with missing > phys") added a special condition to return -ENODEV in case -ENODEV or > -EIO was returned from the first read of the MII_PHYSID1 register. > > In case the MDIO

[PATCH net 2/2] net: phy: Check harder for errors in get_phy_id()

2020-06-18 Thread Florian Fainelli
Commit 02a6efcab675 ("net: phy: allow scanning busses with missing phys") added a special condition to return -ENODEV in case -ENODEV or -EIO was returned from the first read of the MII_PHYSID1 register. In case the MDIO bus data line pull-up is not strong enough, the MDIO bus controller will not