]> git.baikalelectronics.ru Git - kernel.git/commit
amd-xgbe: Update how to determine DMA channel status
authorLendacky, Thomas <Thomas.Lendacky@amd.com>
Thu, 3 Nov 2016 18:19:17 +0000 (13:19 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Nov 2016 18:48:45 +0000 (14:48 -0400)
commitb46101d97eb7da6f28725e2d192f0a58cccf7d69
tree12ab88aa25712bc4aae91bfb874f25e7ef7c9cab
parent2536f0ea25dca92d030dc9774d85a21e14d18ccf
amd-xgbe: Update how to determine DMA channel status

Tx and Rx DMA channel status determiniation is different depending on the
version of the hardware. Update the channel status processing code to
account for the change.  Also, reduce the timeout value used when stopping
the channels.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/xgbe/xgbe-common.h
drivers/net/ethernet/amd/xgbe/xgbe-dev.c
drivers/net/ethernet/amd/xgbe/xgbe.h