Re: [PATCH net-next v3 3/3] net: stmmac: Add DWMAC glue layer for Renesas GBETH

From: Russell King (Oracle)
Date: Tue Mar 18 2025 - 08:06:38 EST


On Tue, Mar 18, 2025 at 12:49:00PM +0100, Paolo Abeni wrote:
> On 3/11/25 11:17 PM, Prabhakar wrote:
> > + gbeth->dev = dev;
> > + gbeth->regs = stmmac_res.addr;
> > + gbeth->plat_dat = plat_dat;
> > + plat_dat->bsp_priv = gbeth;
> > + plat_dat->set_clk_tx_rate = stmmac_set_clk_tx_rate;
> > + plat_dat->clks_config = renesas_gbeth_clks_config;
> > + plat_dat->flags |= STMMAC_FLAG_HWTSTAMP_CORRECT_LATENCY |
> > + STMMAC_FLAG_EN_TX_LPI_CLK_PHY_CAP |
>
> The above does not compile:
>
> ../drivers/net/ethernet/stmicro/stmmac/dwmac-renesas-gbeth.c:124:7:
> error: use of undeclared identifier 'STMMAC_FLAG_EN_TX_LPI_CLK_PHY_CAP'

This is because this patch depends on patches that I previously
submitted on the 10th March, but because of a cockup with the
Cc header, were re-submitted on 12th March:

https://patchwork.kernel.org/project/netdevbpf/patch/E1tsITp-005vG9-Px@xxxxxxxxxxxxxxxxxxxxxx/

--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!