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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Mar 2021 15:43:43 +0000 (16:43 +0100)
commit75756ebd0e0994de7d4386b4e014bf293e3c3a64
tree9f9ab924e40abf717eb4ebb9bba7b5b4466a60cc
parentea64cbd9aff6d435f426ba7f9964389317a7eedf
net: stmmac: fix incorrect DMA channel intr enable setting of EQoS v4.10

commit 879c348c35bb5fb758dd881d8a97409c1862dae8 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c