From: Vladimir Oltean Date: Tue, 16 Feb 2021 23:28:52 +0200 Subject: [PATCH v5 4/9] net: mdio: teach dm_eth_connect_phy_handle to connect to fixed PHY In-Reply-To: <20210216211936.3291988-5-olteanv@gmail.com> References: <20210216211936.3291988-1-olteanv@gmail.com> <20210216211936.3291988-5-olteanv@gmail.com> Message-ID: <20210216212852.6qzrsknbe4vkg3qs@skbuf> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Feb 16, 2021 at 11:19:31PM +0200, Vladimir Oltean wrote: > From: Vladimir Oltean > > dm_eth_connect_phy_handle has all the info it needs in order to hide > away from the UCLASS_ETH caller the fact that it is attached to a > fixed-link PHY. So only attempt to search for a phy-handle if we've > exhausted the fixed-link option first. > > Signed-off-by: Vladimir Oltean > --- Ouch, the function name in the commit message is wrong, I meant dm_eth_phy_connect but I pasted the wrong one. The patch is correct though. Should have not hurried.