android_kernel_samsung_a7y1.../drivers/net/ethernet/natsemi
Finn Thain 2bb1c12c77 net/sonic: Quiesce SONIC before re-initializing descriptor memory
[ Upstream commit 3f4b7e6a2be982fd8820a2b54d46dd9c351db899 ]

Make sure the SONIC's DMA engine is idle before altering the transmit
and receive descriptors. Add a helper for this as it will be needed
again.

Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Tested-by: Stan Johnson <userm57@yahoo.com>
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-07 13:49:00 +02:00
..
jazzsonic.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kconfig A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
macsonic.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
natsemi.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ns83820.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sonic.c net/sonic: Quiesce SONIC before re-initializing descriptor memory 2020-04-07 13:49:00 +02:00
sonic.h net/sonic: Quiesce SONIC before re-initializing descriptor memory 2020-04-07 13:49:00 +02:00
xtsonic.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30