summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/stmicro/stmmac/common.h
diff options
context:
space:
mode:
authorJoao Pinto2017-03-10 19:24:58 +0100
committerDavid S. Miller2017-03-13 07:41:04 +0100
commitad5a87d7e3c5fcea987728027a3fae2c2f067173 (patch)
tree177a20309a3de7ba0e0db6e2de0dd611bb9cc09f /drivers/net/ethernet/stmicro/stmmac/common.h
parentnet: stmmac: prepare irq_status for mtl (diff)
downloadkernel-qcow2-linux-ad5a87d7e3c5fcea987728027a3fae2c2f067173.tar.gz
kernel-qcow2-linux-ad5a87d7e3c5fcea987728027a3fae2c2f067173.tar.xz
kernel-qcow2-linux-ad5a87d7e3c5fcea987728027a3fae2c2f067173.zip
net: stmmac: mac debug prepared for multiple queues
This patch prepares mac debug dump 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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/common.h b/drivers/net/ethernet/stmicro/stmmac/common.h
index 23c9e2a1bb6f..e7fb98569d2d 100644
--- a/drivers/net/ethernet/stmicro/stmmac/common.h
+++ b/drivers/net/ethernet/stmicro/stmmac/common.h
@@ -491,7 +491,8 @@ struct stmmac_ops {
void (*reset_eee_mode)(struct mac_device_info *hw);
void (*set_eee_timer)(struct mac_device_info *hw, int ls, int tw);
void (*set_eee_pls)(struct mac_device_info *hw, int link);
- void (*debug)(void __iomem *ioaddr, struct stmmac_extra_stats *x);
+ void (*debug)(void __iomem *ioaddr, struct stmmac_extra_stats *x,
+ u32 rx_queues, u32 tx_queues);
/* PCS calls */
void (*pcs_ctrl_ane)(void __iomem *ioaddr, bool ane, bool srgmi_ral,
bool loopback);