]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4a98b7d78797ebfccb2eeb91fed1247a8652faf4
tree2d6b65260d70dd54a6874664b4fbc476a0a89bb7
parent7f9eb0bab95e85a1a8062dfb091a44a5f7c6062c
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: de491c9f7cba ("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