[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGb2v67U1KUeEvQ8yhSHP5NY1-9hGuwuTwgKMWGJB2LZn5pwqw@mail.gmail.com>
Date: Tue, 21 Oct 2025 15:43:29 +0800
From: Chen-Yu Tsai <wens@...nel.org>
To: "Russell King (Oracle)" <rmk+kernel@...linux.org.uk>
Cc: Andrew Lunn <andrew@...n.ch>, Heiner Kallweit <hkallweit1@...il.com>,
Alexandre Torgue <alexandre.torgue@...s.st.com>, Andrew Lunn <andrew+netdev@...n.ch>,
"David S. Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Jan Petrous <jan.petrous@....nxp.com>,
Jernej Skrabec <jernej.skrabec@...il.com>, Jonathan Hunter <jonathanh@...dia.com>,
linux-arm-kernel@...ts.infradead.org, linux-arm-msm@...r.kernel.org,
linux-stm32@...md-mailman.stormreply.com, linux-sunxi@...ts.linux.dev,
linux-tegra@...r.kernel.org,
Maxime Chevallier <maxime.chevallier@...tlin.com>, Maxime Coquelin <mcoquelin.stm32@...il.com>,
netdev@...r.kernel.org, Paolo Abeni <pabeni@...hat.com>,
Richard Cochran <richardcochran@...il.com>, s32@....com,
Samuel Holland <samuel@...lland.org>, Thierry Reding <thierry.reding@...il.com>,
Vinod Koul <vkoul@...nel.org>, Vladimir Zapolskiy <vz@...ia.com>
Subject: Re: [PATCH net-next v2] net: stmmac: replace has_xxxx with core_type
On Tue, Oct 21, 2025 at 3:27 PM Russell King (Oracle)
<rmk+kernel@...linux.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@...tlin.com>
> Signed-off-by: Russell King (Oracle) <rmk+kernel@...linux.org.uk>
> ---
> v2:
> - fix conflict with removal with STMMAC_FLAG_HAS_INTEGRATED_PCS removal
> - wrap 88 char line in stmmac_xmit()
> - add Maxime's tested-by
>
> I haven't added Maxime's r-b because the patch has changed subtly, but
> not in a way that invalidates testing. Given the minor changes and it's
> possibilities for further conflicts, can we get this in sooner please?
> Thanks.
>
> drivers/net/ethernet/stmicro/stmmac/common.h | 5 ++
> .../stmicro/stmmac/dwmac-dwc-qos-eth.c | 2 +-
> .../net/ethernet/stmicro/stmmac/dwmac-intel.c | 5 +-
> .../ethernet/stmicro/stmmac/dwmac-ipq806x.c | 2 +-
> .../ethernet/stmicro/stmmac/dwmac-loongson.c | 2 +-
> .../ethernet/stmicro/stmmac/dwmac-lpc18xx.c | 2 +-
> .../stmicro/stmmac/dwmac-qcom-ethqos.c | 2 +-
> .../net/ethernet/stmicro/stmmac/dwmac-rk.c | 4 +-
> .../net/ethernet/stmicro/stmmac/dwmac-s32.c | 2 +-
> .../ethernet/stmicro/stmmac/dwmac-socfpga.c | 2 +-
> .../net/ethernet/stmicro/stmmac/dwmac-sunxi.c | 2 +-
For sunxi,
Acked-by: Chen-Yu Tsai <wens@...nel.org>
Powered by blists - more mailing lists