From 1693d27b71fe4cff20e3b4dad55dcb27c9c7d11a Mon Sep 17 00:00:00 2001 From: Conrad Meyer Date: Wed, 28 Oct 2015 02:37:24 +0000 Subject: ioat: Define DMACAPABILITY bits Check for BFILL capability before initiating blockfill operations. Sponsored by: EMC / Isilon Storage Division --- sys/dev/ioat/ioat.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/dev/ioat/ioat.h') 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, -- cgit v1.2.3