]> git.baikalelectronics.ru Git - kernel.git/commit
net: bcmgenet: Ensure all TX/RX queues DMAs are disabled
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 9 Jul 2021 01:55:32 +0000 (18:55 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Jul 2021 02:35:59 +0000 (19:35 -0700)
commitf8c46d2495415d5df32abb97c063261ca7d87377
tree423c8aab16180be02a5d60822ee3356d2748155b
parent0e0446747d0848bb9530107355c26368062e390f
net: bcmgenet: Ensure all TX/RX queues DMAs are disabled

Make sure that we disable each of the TX and RX queues in the TDMA and
RDMA control registers. This is a correctness change to be symmetrical
with the code that enables the TX and RX queues.

Tested-by: Maxime Ripard <maxime@cerno.tech>
Fixes: 390dff99da87 ("net: bcmgenet: add main driver file")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/genet/bcmgenet.c