diff options
-rw-r--r-- | sys/alpha/include/bus.h | 4 | ||||
-rw-r--r-- | sys/amd64/include/bus_dma.h | 4 | ||||
-rw-r--r-- | sys/i386/include/bus_dma.h | 4 | ||||
-rw-r--r-- | sys/ia64/include/bus.h | 4 | ||||
-rw-r--r-- | sys/sys/bus_dma.h | 4 |
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. */ |