Module Name: src Committed By: wiz Date: Mon Nov 13 09:10:37 UTC 2017
Modified Files: src/share/man/man9: bus_space.9 Log Message: Sort errors. Remove superfluous macros. To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53 src/share/man/man9/bus_space.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_space.9 diff -u src/share/man/man9/bus_space.9:1.52 src/share/man/man9/bus_space.9:1.53 --- src/share/man/man9/bus_space.9:1.52 Sun Nov 12 21:14:33 2017 +++ src/share/man/man9/bus_space.9 Mon Nov 13 09:10:37 2017 @@ -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 @@ is undefined, and 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 @@ is undefined, and 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 @@ input port, and are placed by the device 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 @@ It is correct (and often easier) to make 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 @@ The definition of the 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