Re: [PATCH net-next 1/1] net: mdio: reset PHY before attempting to access ID register

Jakub Kicinski
2025-11-26T02:43:36Z

On Tue, 25 Nov 2025 12:15:51 +0100 Buday Csaba wrote:
> When the ID of an Ethernet PHY is not provided by the 'compatible'
> string in the device tree, its actual ID is read via the MDIO bus.
> For some PHYs this could be unsafe, since a hard reset may be
> necessary to safely access the MDIO registers.

You may be missing exports because it doesn't build with allmodconfig:

ERROR: modpost: "mdio_device_register_reset" [drivers/net/mdio/fwnode_mdio.ko] undefined!
ERROR: modpost: "mdio_device_unregister_reset" [drivers/net/mdio/fwnode_mdio.ko] undefined!
--
pw-bot: cr