mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02:00
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>
This commit is contained in:
parent
98182c7481
commit
7e9ea8de27
|
|
@ -148,7 +148,7 @@ static int starfive_dwmac_probe(struct platform_device *pdev)
|
|||
return err;
|
||||
}
|
||||
|
||||
plat_dat->flags |= STMMAC_FLAG_EN_TX_LPI_CLK_PHY_CAP;
|
||||
plat_dat->flags |= (STMMAC_FLAG_EN_TX_LPI_CLK_PHY_CAP | STMMAC_FLAG_SPH_DISABLE);
|
||||
plat_dat->dma_cfg->dche = true;
|
||||
|
||||
return stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user