[PATCH net-next 0/2] net: ethernet: cortina: support deferral

Andrew Lunn andrew at lunn.ch
Fri Feb 20 05:04:10 PST 2026


> What I actually most of all want to achieve here is to support loading
> the PHY as module, but I suspect that then the ethernet driver has to
> be a module as well so modprobe can do its job.

I don't think that is true. You should be able to have a built in MAC
and a modular PHY. phylib will call out to modprobe, passing the ID of
the PHY in order to load the driver. There are some interesting race
conditions when interface open() is called while the PHY module is
still loading, so you end up with genphy. But the race exists
independent of built in vs modular MAC.

	    Andrew



More information about the linux-arm-kernel mailing list