diff options
author | Joao Pinto <Joao.Pinto@synopsys.com> | 2017-03-15 11:04:46 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-15 14:44:31 -0700 |
commit | 4f513ecd2f60d9ebd2ac0fa4cd0b5d0612d70233 (patch) | |
tree | 4f193fa730489f3af7f60540494e561f68300fc3 /drivers/net/ethernet/stmicro/stmmac/common.h | |
parent | 6deee2221e110f6574988120dba6cab7e7313f44 (diff) | |
download | blackbird-op-linux-4f513ecd2f60d9ebd2ac0fa4cd0b5d0612d70233.tar.gz blackbird-op-linux-4f513ecd2f60d9ebd2ac0fa4cd0b5d0612d70233.zip |
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/common.h')
-rw-r--r-- | drivers/net/ethernet/stmicro/stmmac/common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/common.h b/drivers/net/ethernet/stmicro/stmmac/common.h index 13bd3d4e381f..0351b5408372 100644 --- a/drivers/net/ethernet/stmicro/stmmac/common.h +++ b/drivers/net/ethernet/stmicro/stmmac/common.h @@ -431,8 +431,8 @@ struct stmmac_dma_ops { void (*dma_diagnostic_fr) (void *data, struct stmmac_extra_stats *x, void __iomem *ioaddr); void (*enable_dma_transmission) (void __iomem *ioaddr); - void (*enable_dma_irq) (void __iomem *ioaddr); - void (*disable_dma_irq) (void __iomem *ioaddr); + void (*enable_dma_irq)(void __iomem *ioaddr, u32 chan); + void (*disable_dma_irq)(void __iomem *ioaddr, u32 chan); void (*start_tx) (void __iomem *ioaddr); void (*stop_tx) (void __iomem *ioaddr); void (*start_rx) (void __iomem *ioaddr); |