From 0f3a007844a71e4f683d6ead5b6706d1c6951db9 Mon Sep 17 00:00:00 2001 From: Scott Long Date: Fri, 22 Oct 2004 05:21:20 +0000 Subject: [PATCH] Correct and clarify some very incorrect text. --- share/man/man9/bus_dma.9 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/share/man/man9/bus_dma.9 b/share/man/man9/bus_dma.9 index a40507d6cfb..65954c98d36 100644 --- a/share/man/man9/bus_dma.9 +++ b/share/man/man9/bus_dma.9 @@ -394,11 +394,13 @@ with Are as follows: .Bl -tag -width "BUS_DMA_ALLOCNOW" -compact .It Dv BUS_DMA_ALLOCNOW -Allocate the resources necessary to guarantee that all map load -operations associated with this tag will not block. +Pre-allocate enough resources to handle at least one map load operation on +this tag without blocking. If sufficient resources are not available, .Er ENOMEM is returned. +This should not be used for tags that will not be directly associated with +a map. .El .It Fa lockfunc Optional lock manipulation function (may be NULL) to be called when busdma @@ -503,10 +505,8 @@ The status of the mapping has been delivered to the callback. The mapping has been deferred for lack of resources. The callback will be called as soon as resources are available. Callbacks are serviced in FIFO order. -DMA maps created from DMA tags that are allocated with -the -.Dv BUS_DMA_ALLOCNOW -flag will never return this status for a load operation. +To ensure that ordering is guaranteed, all subsequent load requests will also +be deferred until all callbacks have been processed. .It Er EINVAL The load request was invalid. The callback has not, and will not be called. -- 2.45.2