diff options
author | Joao Pinto <Joao.Pinto@synopsys.com> | 2017-03-10 21:24:57 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-13 09:41:04 +0300 |
commit | 8f71a88d3619db0abbca3bd18ba15a479a5abf1b (patch) | |
tree | ea800baf2cb3bec1265128d3b0a00478a54884aa /drivers/net/ethernet/stmicro/stmmac/dwmac4.h | |
parent | 29feff39000bb57fe6c25f5ec1435489196c8838 (diff) | |
download | linux-8f71a88d3619db0abbca3bd18ba15a479a5abf1b.tar.xz |
net: stmmac: prepare irq_status for mtl
This patch prepares mac irq status 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/dwmac4.h')
-rw-r--r-- | drivers/net/ethernet/stmicro/stmmac/dwmac4.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac4.h b/drivers/net/ethernet/stmicro/stmmac/dwmac4.h index 773f25b8e403..1ddf75c0eab5 100644 --- a/drivers/net/ethernet/stmicro/stmmac/dwmac4.h +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac4.h @@ -175,7 +175,7 @@ enum power_event { #define MTL_OPERATION_RAA_WSP (0x1 << 2) #define MTL_INT_STATUS 0x00000c20 -#define MTL_INT_Q0 BIT(0) +#define MTL_INT_QX(x) BIT(x) #define MTL_RXQ_DMA_MAP0 0x00000c30 /* queue 0 to 3 */ #define MTL_RXQ_DMA_MAP1 0x00000c34 /* queue 4 to 7 */ |