On Fri, Mar 01, 2024 at 04:35:00PM +0100, Romain Gantois wrote: > From: Maxime Chevallier <maxime.chevallier@xxxxxxxxxxx> > > When initializing attached PHYs, there are some cases where we don't expect > any PHY to be connected. The logic uses conditions based on various local > PCS configuration, but also calls-in phylink_expects_phy() via > stmmac_init_phy(), which is enough to ensure we don't try to initialize a > PHY when using a Lynx PCS, as long as we have the phy_interface set to a > 802.3z mode and are using inband negociation. > > Drop the lynx check, making the stmmac generic code more pcs_lynx-agnostic. > > Signed-off-by: Maxime Chevallier <maxime.chevallier@xxxxxxxxxxx> > [rgantois: commit log] > Signed-off-by: Romain Gantois <romain.gantois@xxxxxxxxxxx> Reviewed-by: Andrew Lunn <andrew@xxxxxxx> Andrew