aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ioat/ioat.h
diff options
context:
space:
mode:
authorConrad Meyer <cem@FreeBSD.org>2015-10-28 02:37:24 +0000
committerConrad Meyer <cem@FreeBSD.org>2015-10-28 02:37:24 +0000
commit1693d27b71fe4cff20e3b4dad55dcb27c9c7d11a (patch)
tree4728d31ac082193ae91f5c134d6c342658236a97 /sys/dev/ioat/ioat.h
parent523e46d486693f42295cfc026c999d35aa67f099 (diff)
downloadsrc-1693d27b71fe4cff20e3b4dad55dcb27c9c7d11a.tar.gz
src-1693d27b71fe4cff20e3b4dad55dcb27c9c7d11a.zip
ioat: Define DMACAPABILITY bits
Check for BFILL capability before initiating blockfill operations. Sponsored by: EMC / Isilon Storage Division
Notes
Notes: svn path=/head/; revision=290087
Diffstat (limited to 'sys/dev/ioat/ioat.h')
-rw-r--r--sys/dev/ioat/ioat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/ioat/ioat.h b/sys/dev/ioat/ioat.h
index e99714df275f..d72dcc5232d3 100644
--- a/sys/dev/ioat/ioat.h
+++ b/sys/dev/ioat/ioat.h
@@ -71,6 +71,8 @@ void ioat_release(bus_dmaengine_t dmaengine);
/*
* Issue a blockfill operation. The 64-bit pattern 'fillpattern' is written to
* 'len' physically contiguous bytes at 'dst'.
+ *
+ * Only supported on devices with the BFILL capability.
*/
struct bus_dmadesc *ioat_blockfill(bus_dmaengine_t dmaengine, bus_addr_t dst,
uint64_t fillpattern, bus_size_t len, bus_dmaengine_callback_t callback_fn,