Re: [RFC 04/11] net: phy: Handle c22 regs presence better

From: Andrew Lunn
Date: Mon May 25 2020 - 19:06:36 EST


> I know for sure we find phys that previously weren't found.

That is in itself somewhat dangerous. Those using primitive
configuration systems are probably going to use phy_find_first(),
rather than an address on the bus. I always recommend against that,
because if another PHY suddenly pops up on the bus, bad things can
happen.

Andrew