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

From: Jakub Kicinski

Date: Tue Nov 25 2025 - 21:43:50 EST


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