]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ioat(4): Read CHANSTS register for suspended/halted checks
authorcem <cem@FreeBSD.org>
Wed, 2 Nov 2016 23:18:16 +0000 (23:18 +0000)
committercem <cem@FreeBSD.org>
Wed, 2 Nov 2016 23:18:16 +0000 (23:18 +0000)
commiteff72c9889afb4b8044d449562962620aef5674f
tree7a7ee3b8144a0b7384a3f063a13b4db4a85650d8
parent2cc3e8939f973188e8eabea763f9ecd890c450f2
ioat(4): Read CHANSTS register for suspended/halted checks

The device doesn't accurately update the CHANCMP address with the device state
when the device is suspended or halted.  So, read the CHANSTS register to check
for those states.

We still need to read the CHANCMP address for the last completed descriptor.

Sponsored by: Dell EMC Isilon
sys/dev/ioat/ioat.c