net: stmmac: fix incorrect DMA channel intr enable setting of EQoS v4.10
authorOng Boon Leong <boon.leong.ong@intel.com>
Wed, 3 Mar 2021 15:08:40 +0000 (20:38 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Mar 2021 16:48:12 +0000 (08:48 -0800)
commit879c348c35bb5fb758dd881d8a97409c1862dae8
tree2d6b65260d70dd54a6874664b4fbc476a0a89bb7
parent6881b07fdd24850def1f03761c66042b983ff86e
net: stmmac: fix incorrect DMA channel intr enable setting of EQoS v4.10

We introduce dwmac410_dma_init_channel() here for both EQoS v4.10 and
above which use different DMA_CH(n)_Interrupt_Enable bit definitions for
NIE and AIE.

Fixes: 48863ce5940f ("stmmac: add DMA support for GMAC 4.xx")
Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
Signed-off-by: Ramesh Babu B <ramesh.babu.b@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c