Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/man/man9 Sort errors. Remove superfluous macros.
details: https://anonhg.NetBSD.org/src/rev/880c1cd47303
branches: trunk
changeset: 357503:880c1cd47303
user: wiz <wiz%NetBSD.org@localhost>
date: Mon Nov 13 09:10:37 2017 +0000
description:
Sort errors. Remove superfluous macros.
diffstat:
share/man/man9/bus_space.9 | 21 +++++++++------------
1 files changed, 9 insertions(+), 12 deletions(-)
diffs (75 lines):
diff -r e22559c8bfb2 -r 880c1cd47303 share/man/man9/bus_space.9
--- a/share/man/man9/bus_space.9 Mon Nov 13 09:09:28 2017 +0000
+++ b/share/man/man9/bus_space.9 Mon Nov 13 09:10:37 2017 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: bus_space.9,v 1.52 2017/11/12 21:14:33 riastradh Exp $
+.\" $NetBSD: bus_space.9,v 1.53 2017/11/13 09:10:37 wiz Exp $
.\"
.\" Copyright (c) 1997 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -1047,16 +1047,16 @@
returns a non-zero error code.
Possible error codes include
.Bl -tag -width EOPNOTSUPP -offset indent
+.It Er ENOMEM
+There was not sufficient bus space at
+.Fa bpa
+to satisfy the request.
.It Er EOPNOTSUPP
.Fn bus_space_reserve
is not supported on this architecture, or
.Fa flags
was incompatible with the bus space represented by
.Fa t .
-.It Er ENOMEM
-There was not sufficient bus space at
-.Fa bpa
-to satisfy the request.
.El
.Pp
.It Fn bus_space_reserve_subregion "t" "reg_start" "reg_end" \
@@ -1091,16 +1091,16 @@
returns a non-zero error code.
Possible error codes include
.Bl -tag -width EOPNOTSUPP -offset indent
+.It Er ENOMEM
+There was not sufficient bus space at
+.Fa bpa
+to satisfy the request.
.It Er EOPNOTSUPP
.Fn bus_space_reserve
is not supported on this architecture, or
.Fa flags
was incompatible with the bus space represented by
.Fa t .
-.It Er ENOMEM
-There was not sufficient bus space at
-.Fa bpa
-to satisfy the request.
.El
.Pp
.It Fn bus_space_release "t" "bsr"
@@ -1388,7 +1388,6 @@
which is read by reading from the output port.
The sequence to correctly write two data bytes to the device then read
those two data bytes back would be:
-.Pp
.Bd -literal
/*
* t and h are the tag and handle for the mapped device's
@@ -1425,7 +1424,6 @@
device's whole range of bus space, that is, to specify an offset of zero
and the size of the whole region.
.El
-.El
.Sh REGION OPERATIONS
Some devices use buffers which are mapped as regions in bus space.
Often, drivers want to copy the contents of those buffers to or from
@@ -1900,7 +1898,6 @@
functions should not yet be considered finalized.
There are several changes and improvements which should be explored,
including:
-.Pp
.Bl -bullet
.It
Providing a mechanism by which incorrectly-written drivers will be
Home |
Main Index |
Thread Index |
Old Index