From e3855085d101638bdcca471186a43f37fbc0852f Mon Sep 17 00:00:00 2001 From: scottl Date: Fri, 7 Nov 2003 23:29:42 +0000 Subject: Document the lockfunc and lockfuncarg arguments to bus_dma_tag_create() in the busdma headers. --- sys/alpha/include/bus.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys/alpha') diff --git a/sys/alpha/include/bus.h b/sys/alpha/include/bus.h index 8c6d324..4fe1286 100644 --- a/sys/alpha/include/bus.h +++ b/sys/alpha/include/bus.h @@ -569,6 +569,10 @@ typedef void bus_dma_lock_t(void *, bus_dma_lock_op_t); * nsegments: Number of discontinuities allowed in maps. * maxsegsz: Maximum size of a segment in the map. * flags: Bus DMA flags. + * lockfunc: An optional function to handle driver-defined lock + * operations. + * lockfuncarg: An argument that will be passed to lockfunc in addition + * to the lock operation. * dmat: A pointer to set to a valid dma tag should the return * value of this function indicate success. */ -- cgit v1.1