summaryrefslogtreecommitdiffstats
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
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.
-rw-r--r--sys/alpha/include/bus.h4
-rw-r--r--sys/amd64/include/bus_dma.h4
-rw-r--r--sys/i386/include/bus_dma.h4
-rw-r--r--sys/ia64/include/bus.h4
-rw-r--r--sys/sys/bus_dma.h4
5 files changed, 20 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.
*/
diff --git a/sys/amd64/include/bus_dma.h b/sys/amd64/include/bus_dma.h
index b9129e9..4399c6f 100644
--- a/sys/amd64/include/bus_dma.h
+++ b/sys/amd64/include/bus_dma.h
@@ -160,6 +160,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.
*/
diff --git a/sys/i386/include/bus_dma.h b/sys/i386/include/bus_dma.h
index 6d9db77..a278f62 100644
--- a/sys/i386/include/bus_dma.h
+++ b/sys/i386/include/bus_dma.h
@@ -160,6 +160,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.
*/
diff --git a/sys/ia64/include/bus.h b/sys/ia64/include/bus.h
index 9c9ae36..e8e7574 100644
--- a/sys/ia64/include/bus.h
+++ b/sys/ia64/include/bus.h
@@ -940,6 +940,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.
*/
diff --git a/sys/sys/bus_dma.h b/sys/sys/bus_dma.h
index 6d9db77..a278f62 100644
--- a/sys/sys/bus_dma.h
+++ b/sys/sys/bus_dma.h
@@ -160,6 +160,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