diff options
author | scottl <scottl@FreeBSD.org> | 2004-10-22 05:21:20 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2004-10-22 05:21:20 +0000 |
commit | 8c355dc192b1ab4a780472c0c4b7d3261d86063c (patch) | |
tree | 460d1a9695a20af8ff9d778e3b6eac05c4132cd6 /share/man/man9/bus_dma.9 | |
parent | 7b5cffd502c75502de0c499cf36f5cb7db28fa94 (diff) | |
download | FreeBSD-src-8c355dc192b1ab4a780472c0c4b7d3261d86063c.zip FreeBSD-src-8c355dc192b1ab4a780472c0c4b7d3261d86063c.tar.gz |
Correct and clarify some very incorrect text.
Diffstat (limited to 'share/man/man9/bus_dma.9')
-rw-r--r-- | share/man/man9/bus_dma.9 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/share/man/man9/bus_dma.9 b/share/man/man9/bus_dma.9 index a40507d..65954c9 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. |