Before moving forward, I'd like to share an alternative thought.
As noted in the earlier review, this network controller could be
used across multiple architectures. To avoid the redundant churn
in the defconfigs of every single architecture, I am wondering if
we could unconditionally set it to default m in the Kconfig instead.
~/linux/drivers/net/ethernet/stmicro/stmmac$ grep default Kconfig
default n
default y
default STMMAC_PLATFORM
default ARC
default MACH_INGENIC
default ARCH_QCOM
default ARCH_LPC18XX
default ARCH_MESON
default ARCH_MA35
default ARCH_QCOM
default ARCH_RENESAS
default ARCH_ROCKCHIP
default ARCH_RZN1
default ARCH_S32
default ARCH_INTEL_SOCFPGA
default m if ARCH_SOPHGO
default m if ARCH_SPACEMIT
default m if ARCH_STARFIVE
default ARCH_STI
default ARCH_STM32
default ARCH_SUNXI
default ARCH_SUNXI
default ARCH_SUNXI
default ARCH_MXC
default MACH_LOONGSON32
default ARCH_VISCONTI
default X86
default MACH_LOONGSON64
No other glue driver does this. Why is this one special?
Andrew