diff options
author | Jose Abreu <Jose.Abreu@synopsys.com> | 2019-11-11 15:42:35 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-11 23:13:19 -0800 |
commit | 8c6fc097a2f4acf2e9c217e04e2620bf98cfddd3 (patch) | |
tree | 08062575230d4ecc64ef6ee1a73f077b968971ce /drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h | |
parent | net: stmmac: Fix sparse warning (diff) | |
download | linux-dev-8c6fc097a2f4acf2e9c217e04e2620bf98cfddd3.tar.xz linux-dev-8c6fc097a2f4acf2e9c217e04e2620bf98cfddd3.zip |
net: stmmac: gmac4+: Add Split Header support
GMAC4+ cores also support the Split Header feature.
Add the support for Split Header feature in the RX path following the
same implementation logic that XGMAC followed.
Signed-off-by: Jose Abreu <Jose.Abreu@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h')
-rw-r--r-- | drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h b/drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h index 5299fa1001a3..589931795847 100644 --- a/drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h @@ -110,6 +110,7 @@ #define DMA_CHAN_STATUS(x) (DMA_CHANX_BASE_ADDR(x) + 0x60) /* DMA Control X */ +#define DMA_CONTROL_SPH BIT(24) #define DMA_CONTROL_MSS_MASK GENMASK(13, 0) /* DMA Tx Channel X Control register defines */ |