[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200525230618.GE768009@lunn.ch>
Date: Tue, 26 May 2020 01:06:18 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Jeremy Linton <jeremy.linton@....com>
Cc: Russell King - ARM Linux admin <linux@...linux.org.uk>,
netdev@...r.kernel.org, davem@...emloft.net, f.fainelli@...il.com,
hkallweit1@...il.com, madalin.bucur@....nxp.com,
calvin.johnson@....nxp.com, linux-kernel@...r.kernel.org
Subject: Re: [RFC 04/11] net: phy: Handle c22 regs presence better
> 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
Powered by blists - more mailing lists