[Linux-stm32] [PATCH net] net: stmmac: Handle disabled MDIO busses from devicetree
Simon Horman
horms at kernel.org
Tue Dec 12 18:48:09 UTC 2023
On Mon, Dec 11, 2023 at 03:31:17PM -0600, Andrew Halaney wrote:
> Many hardware configurations have the MDIO bus disabled, and are instead
> using some other MDIO bus to talk to the MAC's phy.
>
> of_mdiobus_register() returns -ENODEV in this case. Let's handle it
> gracefully instead of failing to probe the MAC.
>
> Fixes: 47dd7a540b8a (net: add support for STMicroelectronics Ethernet controllers.")
nit: the tag above is malformed, there is a '"' missing before 'net:'.
Fixes: 47dd7a540b8a ("net: add support for STMicroelectronics Ethernet controllers.")
> Signed-off-by: Andrew Halaney <ahalaney at redhat.com>
...
More information about the Linux-stm32
mailing list