Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-6]: src/share/man/man9 Pull up following revision(s) (requested b...



details:   https://anonhg.NetBSD.org/src/rev/881194abf866
branches:  netbsd-6
changeset: 777184:881194abf866
user:      snj <snj%NetBSD.org@localhost>
date:      Fri Jul 14 06:13:07 2017 +0000

description:
Pull up following revision(s) (requested by sevan in ticket #1426):
        share/man/man9/bus_dma.9: 1.58-1.62 via patch
fix proto
--
Remove extra period.
--
Use .An -nosplit.
--
Give a heads up about bus_dmatag_subregion()

diffstat:

 share/man/man9/bus_dma.9 |  19 +++++++++++--------
 1 files changed, 11 insertions(+), 8 deletions(-)

diffs (78 lines):

diff -r 0dcde5713623 -r 881194abf866 share/man/man9/bus_dma.9
--- a/share/man/man9/bus_dma.9  Thu Jul 13 09:02:11 2017 +0000
+++ b/share/man/man9/bus_dma.9  Fri Jul 14 06:13:07 2017 +0000
@@ -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.57.4.1 2017/07/14 06:13:07 snj Exp $
 .\"
 .\" Copyright (c) 1996, 1997, 1998, 2001, 2005, 2006 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -28,7 +28,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd July 8, 2011
+.Dd January 2, 2017
 .Dt BUS_DMA 9
 .Os
 .Sh NAME
@@ -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 @@
 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 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:
@@ -798,13 +798,15 @@
 create a new bus_dma_tag_t with a limited bus address space.
 This function should not normally be used, but is useful for devices
 that do not support the full address space of the parent bus.
+Not all ports implement this method; on ports where it is unavailable,
+EOPNOTSUPP is returned.
 The arguments are as follows:
 .Bl -tag -width max_addr -compact
 .It Fa tag
 This is the bus_dma_tag_t to subregion.
 .It Fa min_addr
 The smallest address this new tag can address.
-.It Fa max_addr .
+.It Fa max_addr
 The largest address this new tag can address.
 .It Fa newtag
 Pointer filled in with the address of the new bus_dma_tag_t.
@@ -839,6 +841,7 @@
 interface appeared in
 .Nx 1.3 .
 .Sh AUTHORS
+.An -nosplit
 The
 .Nm
 interface was designed and implemented by Jason R. Thorpe of the



Home | Main Index | Thread Index | Old Index