[PATCH net-next v2] net: stmmac: replace has_xxxx with core_type

Bartosz Golaszewski brgl at bgdev.pl
Wed Oct 22 05:22:12 PDT 2025


On Tue, Oct 21, 2025 at 9:27 AM Russell King (Oracle)
<rmk+kernel at armlinux.org.uk> wrote:
>
> Replace the has_gmac, has_gmac4 and has_xgmac ints, of which only one
> can be set when matching a core to its driver backend, with an
> enumerated type carrying the DWMAC core type.
>
> Tested-by: Maxime Chevallier <maxime.chevallier at bootlin.com>
> Signed-off-by: Russell King (Oracle) <rmk+kernel at armlinux.org.uk>
> ---

Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski at linaro.org>



More information about the linux-arm-kernel mailing list