summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2003-07-03 09:07:03 +0000
committerscottl <scottl@FreeBSD.org>2003-07-03 09:07:03 +0000
commite4b16fa2397b418b56b695021f87e5808224966a (patch)
tree1602010bf7373764c502390e5dfb4fc57362e4e4 /share
parent84d8d312b841596062a043f08530c9ed847e85de (diff)
downloadFreeBSD-src-e4b16fa2397b418b56b695021f87e5808224966a.zip
FreeBSD-src-e4b16fa2397b418b56b695021f87e5808224966a.tar.gz
Update the rest of the busdma man page for the change in bus_dma_tag_create()
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/bus_dma.910
1 files changed, 9 insertions, 1 deletions
diff --git a/share/man/man9/bus_dma.9 b/share/man/man9/bus_dma.9
index 14ccbba..f97daee 100644
--- a/share/man/man9/bus_dma.9
+++ b/share/man/man9/bus_dma.9
@@ -299,7 +299,7 @@ Releases and/or unlocks the client locking primitive.
.Bl -tag -width compact
.It Fn bus_dma_tag_create "parent" "alignment" "boundary" "lowaddr" \
"highaddr" "*filtfunc" "*filtfuncarg" "maxsize" "nsegments" "maxsegsz" \
-"flags" "*dmat"
+"flags" "lockfunc" "lockfuncarg" "*dmat"
Allocates a device specific DMA tag, and initializes it according to
the arguments provided:
.Bl -tag -width *filtfuncarg -compact
@@ -388,6 +388,14 @@ If sufficient resources are not available,
.Er ENOMEM
is returned.
.El
+.It Fa lockfunc
+Optional lock manipulation function (may be NULL) to be called when busdma
+needs to manipulate a lock on behalf of the client. If NULL is specified,
+.Fn dflt_lock
+is used.
+.It Fa lockfuncarg
+Optional argument to be passed to the function specified by
+.Fa lockfunc .
.It Fa dmat
Pointer to a bus_dma_tag_t where the resulting DMA tag will
be stored.
OpenPOWER on IntegriCloud