From e4b16fa2397b418b56b695021f87e5808224966a Mon Sep 17 00:00:00 2001 From: scottl Date: Thu, 3 Jul 2003 09:07:03 +0000 Subject: Update the rest of the busdma man page for the change in bus_dma_tag_create() --- share/man/man9/bus_dma.9 | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'share') 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. -- cgit v1.1