Re: [PATCH v2 4/5] arm64: defconfig: Drop unused Ethernet vendors
Geert Uytterhoeven <[email protected]> Fri, 19 Jun 2026 12:12:29 +0200
| Newsgroups | dev.linux.lists.soc,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <CAMuHMdVH6-5ZAjTyF3m=wF5-XiSDqwcgRhZWxJv6y0FoCnk4MA@mail.gmail.com> |
Hi Krzysztof, On Wed, 29 Apr 2026 at 20:52, Krzysztof Kozlowski <[email protected]> wrote: > Make going through `make menuconfig` easier by disabling the unused > Ethernet vendor menu options, where no actual driver for given vendor is > selected. > > Impact checked with comparing old and new autoconf.h: > diff ... | grep '^-' | grep -v CONFIG_NET_VENDOR > > Reviewed-by: Linus Walleij <[email protected]> > Signed-off-by: Krzysztof Kozlowski <[email protected]> Thanks for your patch, which is now commit 32379ad4060b6fc0 ("arm64: defconfig: Drop unused Ethernet vendors"). > --- a/arch/arm64/configs/defconfig > +++ b/arch/arm64/configs/defconfig > @@ -349,15 +349,33 @@ CONFIG_VIRTIO_NET=y > CONFIG_MHI_NET=m > CONFIG_NET_DSA_BCM_SF2=m > CONFIG_NET_DSA_MSCC_FELIX=m > +# CONFIG_NET_VENDOR_3COM is not set > +# CONFIG_NET_VENDOR_ACTIONS is not set > +# CONFIG_NET_VENDOR_ADAPTEC is not set > +# CONFIG_NET_VENDOR_AGERE is not set > +# CONFIG_NET_VENDOR_ALACRITECH is not set > +# CONFIG_NET_VENDOR_ALLWINNER is not set [...] I am not sure this new policy is a good idea: none of this affects actual kernel size, but it does increase defconfig size, and churn. E.g. for the m68k defconfig, I dropped all these disablements several years ago. I don't use menufconfig, so just my 2€c... Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds