summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2012-12-10 13:01:27 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2012-12-10 13:01:27 +0000
commitf8b1c7358c5290eb689fb22188353830e2a26191 (patch)
treed4c45a871f5bc33399fefefedc5d316601843ae2 /share
parentde1ae24814d51fa4909f2a0920409b762638b3c1 (diff)
Mention the BUS_DMA_NOCACHE flag, prodded by oga, reads ok to jmc@
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/bus_dma.913
1 files changed, 11 insertions, 2 deletions
diff --git a/share/man/man9/bus_dma.9 b/share/man/man9/bus_dma.9
index f5ac8a9be8f..cf2ee26ec0c 100644
--- a/share/man/man9/bus_dma.9
+++ b/share/man/man9/bus_dma.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bus_dma.9,v 1.29 2010/12/26 15:40:57 miod Exp $
+.\" $OpenBSD: bus_dma.9,v 1.30 2012/12/10 13:01:26 mpi Exp $
.\" $NetBSD: bus_dma.9,v 1.14 2000/06/14 06:49:19 cgd Exp $
.\"
.\" Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: December 26 2010 $
+.Dd $Mdocdate: December 10 2012 $
.Dt BUS_DMA 9
.Os
.Sh NAME
@@ -747,6 +747,11 @@ table entries.
If it is determined that the mapping is DMA coherent, state may be
placed into the DMA map for use by later calls to
.Fn bus_dmamap_sync .
+.It Dv BUS_DMA_NOCACHE
+This flag is a
+.Em hint
+to machine-dependent code.
+If possible, map the memory uncached.
.El
.El
.Pp
@@ -822,6 +827,10 @@ bus-dependent functionality.
See
.Fn bus_dmamem_map
above for a description of this flag.
+.It Dv BUS_DMA_NOCACHE
+See
+.Fn bus_dmamem_map
+above for a description of this flag.
.El
.El
.Sh SEE ALSO