summaryrefslogtreecommitdiffstats
path: root/sys/alpha
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2003-11-07 23:29:42 +0000
committerscottl <scottl@FreeBSD.org>2003-11-07 23:29:42 +0000
commite3855085d101638bdcca471186a43f37fbc0852f (patch)
tree932a39fada873b9447f0f12923a7e92bd686c0a7 /sys/alpha
parent94792986aa79c6ce22b1a1cc8826ded182622203 (diff)
downloadFreeBSD-src-e3855085d101638bdcca471186a43f37fbc0852f.zip
FreeBSD-src-e3855085d101638bdcca471186a43f37fbc0852f.tar.gz
Document the lockfunc and lockfuncarg arguments to bus_dma_tag_create() in
the busdma headers.
Diffstat (limited to 'sys/alpha')
-rw-r--r--sys/alpha/include/bus.h4
1 files changed, 4 insertions, 0 deletions
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.
*/
OpenPOWER on IntegriCloud