[Linux-stm32] [PATCH net v2 1/2] net: stmmac: fix PHY handle parsing

Fabian Bläse fabian at blaese.de
Tue Mar 14 09:56:09 UTC 2023


On 14.03.23 08:02, Michael Sit Wei Hong wrote:
> phylink_fwnode_phy_connect returns 0 when set to MLO_AN_INBAND.
> This causes the PHY handle parsing to skip and the PHY will not be attached
> to the MAC.
> 
> Add additional check for PHY handle parsing when set to MLO_AN_INBAND.
> 
> Fixes: ab21cf920928 ("net: stmmac: make mdio register skips PHY scanning for fixed-link")
> Signed-off-by: Michael Sit Wei Hong <michael.wei.hong.sit at intel.com>
> Signed-off-by: Lai Peter Jun Ann <peter.jun.ann.lai at intel.com>

Tested-by: Fabian Bläse <fabian at blaese.de>



More information about the Linux-stm32 mailing list