diff options
author | Joao Pinto <Joao.Pinto@synopsys.com> | 2017-03-15 14:04:46 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-16 00:44:31 +0300 |
commit | 4f513ecd2f60d9ebd2ac0fa4cd0b5d0612d70233 (patch) | |
tree | 4f193fa730489f3af7f60540494e561f68300fc3 /drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c | |
parent | 6deee2221e110f6574988120dba6cab7e7313f44 (diff) | |
download | linux-4f513ecd2f60d9ebd2ac0fa4cd0b5d0612d70233.tar.xz |
net: stmmac: enable/disable dma irq prepared for multiple queues
This patch prepares the DMA IRQ enable/disable process 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_lib.c')
-rw-r--r-- | drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c b/drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c index e60bfca2a763..285cfc9b3361 100644 --- a/drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c @@ -47,12 +47,12 @@ void dwmac_enable_dma_transmission(void __iomem *ioaddr) writel(1, ioaddr + DMA_XMT_POLL_DEMAND); } -void dwmac_enable_dma_irq(void __iomem *ioaddr) +void dwmac_enable_dma_irq(void __iomem *ioaddr, u32 chan) { writel(DMA_INTR_DEFAULT_MASK, ioaddr + DMA_INTR_ENA); } -void dwmac_disable_dma_irq(void __iomem *ioaddr) +void dwmac_disable_dma_irq(void __iomem *ioaddr, u32 chan) { writel(0, ioaddr + DMA_INTR_ENA); } |