Skip to content

Commit 7e9ea8d

Browse files
mindachen1987kuba-moo
authored andcommitted
net: stmmac: starfive: Add STMMAC_FLAG_SPH_DISABLE flag
Add default disable split header flag in all the starfive soc. Signed-off-by: Minda Chen <minda.chen@starfivetech.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://patch.msgid.link/20260527084108.121416-5-minda.chen@starfivetech.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent 98182c7 commit 7e9ea8d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/net/ethernet/stmicro/stmmac/dwmac-starfive.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ static int starfive_dwmac_probe(struct platform_device *pdev)
148148
return err;
149149
}
150150

151-
plat_dat->flags |= STMMAC_FLAG_EN_TX_LPI_CLK_PHY_CAP;
151+
plat_dat->flags |= (STMMAC_FLAG_EN_TX_LPI_CLK_PHY_CAP | STMMAC_FLAG_SPH_DISABLE);
152152
plat_dat->dma_cfg->dche = true;
153153

154154
return stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res);

0 commit comments

Comments
 (0)