summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2011-04-12 20:24:57 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2011-04-12 20:24:57 +0000
commitbee5ffa37a4893b46f23549a9bbbb5bbc1be1c5c (patch)
tree27a5dcd3f403fb2bef491b110242f354c1262257
parent649bec64763f98a417cbcc58b452e6344c6fd624 (diff)
document size argument; prodded by jmc
-rw-r--r--share/man/man9/dma_alloc.912
1 files changed, 10 insertions, 2 deletions
diff --git a/share/man/man9/dma_alloc.9 b/share/man/man9/dma_alloc.9
index 433a3e4c8e7..1cff71cfa65 100644
--- a/share/man/man9/dma_alloc.9
+++ b/share/man/man9/dma_alloc.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: dma_alloc.9,v 1.4 2011/04/07 22:25:07 jmc Exp $
+.\" $OpenBSD: dma_alloc.9,v 1.5 2011/04/12 20:24:56 deraadt Exp $
.\" $NetBSD: pool.9,v 1.18 2001/06/21 11:59:01 wiz Exp $
.\"
.\" Copyright (c) 2011 Theo de Raadt
@@ -16,7 +16,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: April 7 2011 $
+.Dd $Mdocdate: April 12 2011 $
.Dt DMA_ALLOC 9
.Os
.Sh NAME
@@ -55,6 +55,14 @@ The
argument is a selection of
.Xr pool_get 9
flag arguments.
+.Pp
+The same
+.Va size
+argument must be passed to both
+.Fn dma_alloc
+and the subsequent
+.Fn dma_free .
+Allocations over 65536 will fail.
.Sh SEE ALSO
.Xr bus_dma 9 ,
.Xr mbuf 9 ,