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 16:06:14 +0000 (17:06 +0100)
commit87b7b19d6e1dabbd12344b2784b78ea8b4992f6f
tree38d8d18c75bbbfbb10ea7e00d70a9a61f39fd089
parent6b0d3ae1051bdca4acf91a66be64d42d1c0f577b
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