Re: [PATCH v1] net: dwc_eth_xgmac: Return -ENODEV when phy_connect() fails

Jerome Forissier <[email protected]> Mon, 20 Jul 2026 13:13:32 +0200
Newsgroups de.denx.lists.u-boot
Message-ID <[email protected]>
On Tue, 14 Jul 2026 15:19:27 +0800, Boon Khai Ng wrote:
> When multiple Ethernet controllers are enabled in the device tree,
> but only one controller is actually present in hardware, the
> non-existent controller still attempts to connect to a PHY.
> 
> In this case, phy_connect() may return NULL without setting an
> error code. The current driver only logs the failure but does not
> propagate an error, causing the initialization flow to continue
> with an invalid PHY handle.
> 
> [...]

Applied to u-boot-net/for-master, thanks!

[1/1] net: dwc_eth_xgmac: Return -ENODEV when phy_connect() fails
      commit: 41913031b3411d523302fdc9acd4dc3dd4f02677

Best regards,
-- 
Jerome Forissier <[email protected]>