aboutsummaryrefslogtreecommitdiff
path: root/share/man/man9/bus_dma.9
diff options
context:
space:
mode:
authorScott Long <scottl@FreeBSD.org>2003-07-03 09:07:03 +0000
committerScott Long <scottl@FreeBSD.org>2003-07-03 09:07:03 +0000
commit9b5c4b66944c8228e686e2963bf77872812ce6bf (patch)
tree1602010bf7373764c502390e5dfb4fc57362e4e4 /share/man/man9/bus_dma.9
parent477d2d0ee5ca408a964883aab811e717e109cada (diff)
downloadsrc-9b5c4b66944c8228e686e2963bf77872812ce6bf.tar.gz
src-9b5c4b66944c8228e686e2963bf77872812ce6bf.zip
Update the rest of the busdma man page for the change in bus_dma_tag_create()
Notes
Notes: svn path=/head/; revision=117192
Diffstat (limited to 'share/man/man9/bus_dma.9')
-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 14ccbba06d54..f97daee431b4 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.