summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libarch/alpha/inb.244
1 files changed, 22 insertions, 22 deletions
diff --git a/lib/libarch/alpha/inb.2 b/lib/libarch/alpha/inb.2
index 6fb17a0121b..dcf5a23b808 100644
--- a/lib/libarch/alpha/inb.2
+++ b/lib/libarch/alpha/inb.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: inb.2,v 1.3 2003/03/06 04:07:37 david Exp $
+.\" $OpenBSD: inb.2,v 1.4 2003/05/30 10:21:31 jmc Exp $
.\"
.\" Copyright (c) 2002 Matthieu Herrb
.\" All rights reserved.
@@ -42,9 +42,9 @@
.Nm outw ,
.Nm readb ,
.Nm readl ,
-.Nm readw ,
+.Nm readw ,
.Nm unmap_memory ,
-.Nm writeb ,
+.Nm writeb ,
.Nm writel ,
.Nm writew
.Nd Alpha devices I/O ports and memory access functions
@@ -83,41 +83,41 @@
.Fn writew "void *handle" "u_int32_t offset" "u_int16_t val"
.Sh DESCRIPTION
The functions in libalpha give userland programs access to the I/O
-ports on the OpenBSD/alpha platform.
+ports on the OpenBSD/alpha platform.
.Pp
-The
+The
.Fn in*
-functions return data read from the specified I/O port.
+functions return data read from the specified I/O port.
.Pp
-The
+The
.Fn out*
-functions write data to the specified I/O port.
+functions write data to the specified I/O port.
.Pp
.Fn ioperm
-enables access to the specified port numbers if
+enables access to the specified port numbers if
.Fa on
-is
+is
.Dv TRUE
-and disables access if
+and disables access if
.Fa on
-is
-.Dv FALSE .
-.Pp
-The
-.Fn map_memory
+is
+.Dv FALSE .
+.Pp
+The
+.Fn map_memory
function allows a user program to map part of a device memory.
.Pp
-The
+The
.Fn unmap_memory
function unmaps memory that was previously mapped by
-.Fn map_memory .
+.Fn map_memory .
.Pp
The
.Fn read*
functions read data from device memory previously mapped by
-.Fn map_memory .
+.Fn map_memory .
.Pp
-The
+The
.Fn write*
functions write data to the device memory previously mapped by
.Fn map_memory .
@@ -128,6 +128,6 @@ These functions originally appeared in
.Fx .
.Sh CAVEATS
Only BWX bus access method is supported for now. Machines requiring
-swiz type access are not supported.
+swiz type access are not supported.
.Pp
-Root credentials are needed to use these functions.
+Root credentials are needed to use these functions.