diff options
author | Joao Pinto <Joao.Pinto@synopsys.com> | 2017-03-15 11:04:49 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-15 14:44:32 -0700 |
commit | d62a107a4f154c9aa826dbe03ac2322a389b37b5 (patch) | |
tree | 25b5fa8a552ad227a43654d823508256c8c30c0e /drivers/net/ethernet/stmicro/stmmac/dwmac_dma.h | |
parent | 4e593262290c3488ca7ab8b41a5c70c284e12b57 (diff) |
net: stmmac: prepare dma interrupt treatment for multiple queues
This patch prepares DMA interrupts treatment for multiple queues.
Signed-off-by: Joao Pinto <jpinto@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/dwmac_dma.h')
-rw-r--r-- | drivers/net/ethernet/stmicro/stmmac/dwmac_dma.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac_dma.h b/drivers/net/ethernet/stmicro/stmmac/dwmac_dma.h index 6c6cc7137ee0..9091df86723a 100644 --- a/drivers/net/ethernet/stmicro/stmmac/dwmac_dma.h +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac_dma.h @@ -143,7 +143,8 @@ void dwmac_dma_start_tx(void __iomem *ioaddr, u32 chan); void dwmac_dma_stop_tx(void __iomem *ioaddr, u32 chan); void dwmac_dma_start_rx(void __iomem *ioaddr, u32 chan); void dwmac_dma_stop_rx(void __iomem *ioaddr, u32 chan); -int dwmac_dma_interrupt(void __iomem *ioaddr, struct stmmac_extra_stats *x); +int dwmac_dma_interrupt(void __iomem *ioaddr, struct stmmac_extra_stats *x, + u32 chan); int dwmac_dma_reset(void __iomem *ioaddr); #endif /* __DWMAC_DMA_H__ */ |