]> git.baikalelectronics.ru Git - kernel.git/commit
ftgmac100: Restart MAC HW once
authorDylan Hung <dylan_hung@aspeedtech.com>
Fri, 12 Mar 2021 00:34:05 +0000 (11:04 +1030)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Mar 2021 00:54:07 +0000 (16:54 -0800)
commit7f3039359e2416ca080ecc52c81805f6f40083b0
tree407f117c39a2e91e33dc21255ed9870763b19348
parent7ae78d0fa005bba23a7030c387a7e250627b47ad
ftgmac100: Restart MAC HW once

The interrupt handler may set the flag to reset the mac in the future,
but that flag is not cleared once the reset has occurred.

Fixes: b2ad46ca4a45 ("ftgmac100: Rework NAPI & interrupts handling")
Signed-off-by: Dylan Hung <dylan_hung@aspeedtech.com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/faraday/ftgmac100.c