summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrnoland <rnoland@FreeBSD.org>2009-03-22 21:00:58 +0000
committerrnoland <rnoland@FreeBSD.org>2009-03-22 21:00:58 +0000
commit372b71c71052f117abe52e6826cc68caff123083 (patch)
tree8bb0a6349d7d0ba78b3929197e4a93e7ccc02ca0
parentadefdc48e52fbaa1b6f4cf1f49518c586ffdfa41 (diff)
downloadFreeBSD-src-372b71c71052f117abe52e6826cc68caff123083.zip
FreeBSD-src-372b71c71052f117abe52e6826cc68caff123083.tar.gz
Correct the documentation to reflect the fact that BUS_DMA_NOCACHE is a
flag to bus_dmamem_alloc() rather than bus_dmamap_load(); Discussed with: kib MFC after: 3 days
-rw-r--r--share/man/man9/bus_dma.918
1 files changed, 9 insertions, 9 deletions
diff --git a/share/man/man9/bus_dma.9 b/share/man/man9/bus_dma.9
index 5850db6..dc5ae4b 100644
--- a/share/man/man9/bus_dma.9
+++ b/share/man/man9/bus_dma.9
@@ -561,15 +561,6 @@ Are as follows:
.It Dv BUS_DMA_NOWAIT
The load should not be deferred in case of insufficient mapping resources,
and instead should return immediately with an appropriate error.
-.It Dv BUS_DMA_NOCACHE
-The allocated memory will not be cached in the processor caches.
-All memory accesses appear on the bus and are executed
-without reordering.
-On the amd64 and i386 architectures this flag results in the
-Strong Uncacheable PAT to be set for the allocated virtual address range.
-The
-.Dv BUS_DMA_NOCACHE
-flag is currently implemented on amd64, i386 and sparc64.
.El
.El
.Pp
@@ -785,6 +776,15 @@ the
flag is currently implemented on arm and sparc64.
.It Dv BUS_DMA_ZERO
Causes the allocated memory to be set to all zeros.
+.It Dv BUS_DMA_NOCACHE
+The allocated memory will not be cached in the processor caches.
+All memory accesses appear on the bus and are executed
+without reordering.
+On the amd64 and i386 architectures this flag results in the
+Strong Uncacheable PAT to be set for the allocated virtual address range.
+The
+.Dv BUS_DMA_NOCACHE
+flag is currently implemented on amd64, i386 and sparc64.
.El
.It Fa mapp
Pointer to a
OpenPOWER on IntegriCloud