Module Name: src
Committed By: pooka
Date: Tue Sep 17 20:57:45 UTC 2013
Modified Files:
src/share/man/man9: bus_dma.9
Log Message:
fix proto
To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/share/man/man9/bus_dma.9
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/man/man9/bus_dma.9
diff -u src/share/man/man9/bus_dma.9:1.57 src/share/man/man9/bus_dma.9:1.58
--- src/share/man/man9/bus_dma.9:1.57 Sat Jul 9 07:57:53 2011
+++ src/share/man/man9/bus_dma.9 Tue Sep 17 20:57:45 2013
@@ -1,4 +1,4 @@
-.\" $NetBSD: bus_dma.9,v 1.57 2011/07/09 07:57:53 wiz Exp $
+.\" $NetBSD: bus_dma.9,v 1.58 2013/09/17 20:57:45 pooka Exp $
.\"
.\" Copyright (c) 1996, 1997, 1998, 2001, 2005, 2006 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -58,7 +58,7 @@
.Fn bus_dmamap_destroy "bus_dma_tag_t tag" "bus_dmamap_t dmam"
.Ft int
.Fn bus_dmamap_load "bus_dma_tag_t tag" "bus_dmamap_t dmam" "void *buf" \
-"bus_size_t buflen" "struct lwp *l" "int flags"
+"bus_size_t buflen" "struct proc *p" "int flags"
.Ft int
.Fn bus_dmamap_load_mbuf "bus_dma_tag_t tag" "bus_dmamap_t dmam" \
"struct mbuf *chain" "int flags"
@@ -243,7 +243,7 @@ Behavior is not defined if invalid argum
If given valid arguments,
.Fn bus_dmamap_destroy
always succeeds.
-.It Fn bus_dmamap_load "tag" "dmam" "buf" "buflen" "l" "flags"
+.It Fn bus_dmamap_load "tag" "dmam" "buf" "buflen" "p" "flags"
Loads a DMA handle with mappings for a DMA transfer.
It assumes that all pages involved in a DMA transfer are wired.
Arguments are as follows:
@@ -257,13 +257,13 @@ The DMA handle with which to map the tra
The buffer to be used for the DMA transfer.
.It Fa buflen
The size of the buffer.
-.It Fa l
+.It Fa p
Used to indicate the address space in which the buffer is located.
If
.Dv NULL ,
the buffer is assumed to be in kernel space.
-Otherwise, the buffer is assumed to be in lwp
-.Fa l Ap s
+Otherwise, the buffer is assumed to be in proc
+.Fa p Ap s
address space.
.It Fa flags
are defined as follows: