summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/stmicro/stmmac/common.h
diff options
context:
space:
mode:
authorJoao Pinto2017-03-15 12:04:50 +0100
committerDavid S. Miller2017-03-15 22:44:32 +0100
commit3c55d4d08bc9e94901a26eb57c9aa0b8c76a18c0 (patch)
tree8091d8867a65eed02c88133ba1495b33e1ff8aa6 /drivers/net/ethernet/stmicro/stmmac/common.h
parentnet: stmmac: prepare dma interrupt treatment for multiple queues (diff)
downloadkernel-qcow2-linux-3c55d4d08bc9e94901a26eb57c9aa0b8c76a18c0.tar.gz
kernel-qcow2-linux-3c55d4d08bc9e94901a26eb57c9aa0b8c76a18c0.tar.xz
kernel-qcow2-linux-3c55d4d08bc9e94901a26eb57c9aa0b8c76a18c0.zip
net: stmmac: rx watchdog config prepared for multiple queues
This patch adds rx watchdog configuration for all 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/common.h b/drivers/net/ethernet/stmicro/stmmac/common.h
index 6dfb7f31898e..5fa23b13d3cd 100644
--- a/drivers/net/ethernet/stmicro/stmmac/common.h
+++ b/drivers/net/ethernet/stmicro/stmmac/common.h
@@ -443,7 +443,7 @@ struct stmmac_dma_ops {
void (*get_hw_feature)(void __iomem *ioaddr,
struct dma_features *dma_cap);
/* Program the HW RX Watchdog */
- void (*rx_watchdog) (void __iomem *ioaddr, u32 riwt);
+ void (*rx_watchdog)(void __iomem *ioaddr, u32 riwt, u32 number_chan);
void (*set_tx_ring_len)(void __iomem *ioaddr, u32 len);
void (*set_rx_ring_len)(void __iomem *ioaddr, u32 len);
void (*set_rx_tail_ptr)(void __iomem *ioaddr, u32 tail_ptr, u32 chan);