Re: [PATCH] net: usb: lan78xx: add weak dependency with micrel phy module

From: Andrew Lunn
Date: Sun Jul 28 2024 - 15:46:07 EST


> Basically, the way I see it, weakdeps are the right solution for the
> problem at hand, i.e. for the generation of the initial ramdisk with
> all the possible PHY driver modules.

Sorry, but i still don't see how this works.

Say you get this one patch merged. What then? You throw all other PHY
drivers which don't have a weakdep out of the initramfs? That
potentially breaks around 200 MAC drivers who need those PHYs you have
discarded.

Andrew