summaryrefslogtreecommitdiff
path: root/usr/src/man/man9f/devmap_default_access.9f
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man9f/devmap_default_access.9f')
-rw-r--r--usr/src/man/man9f/devmap_default_access.9f24
1 files changed, 4 insertions, 20 deletions
diff --git a/usr/src/man/man9f/devmap_default_access.9f b/usr/src/man/man9f/devmap_default_access.9f
index 2f3c99d7cf..9e34bbcb06 100644
--- a/usr/src/man/man9f/devmap_default_access.9f
+++ b/usr/src/man/man9f/devmap_default_access.9f
@@ -3,17 +3,17 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH devmap_default_access 9F "14 Jan 1997" "SunOS 5.11" "Kernel Functions for Drivers"
+.TH DEVMAP_DEFAULT_ACCESS 9F "Jan 14, 1997"
.SH NAME
devmap_default_access \- default driver memory access function
.SH SYNOPSIS
.LP
.nf
-#include <sys/ddi.h>
+#include <sys/ddi.h>
#include <sys/sunddi.h>
-
-\fBint\fR \fBdevmap_default_access\fR(\fBdevmap_cookie_t\fR \fIdhp\fR, \fBvoid *\fR\fIpvtp\fR,
+
+\fBint\fR \fBdevmap_default_access\fR(\fBdevmap_cookie_t\fR \fIdhp\fR, \fBvoid *\fR\fIpvtp\fR,
\fBoffset_t\fR \fIoff\fR, \fBsize_t\fR \fIlen\fR, \fBuint_t\fR \fItype\fR, \fBuint_t\fR \fIrw\fR);
.fi
@@ -24,67 +24,55 @@ Solaris DDI specific (Solaris DDI).
.SH PARAMETERS
.sp
.ne 2
-.mk
.na
\fB\fIdhp\fR \fR
.ad
.RS 9n
-.rt
An opaque mapping handle that the system uses to describe the mapping.
.RE
.sp
.ne 2
-.mk
.na
\fB\fIpvtp\fR \fR
.ad
.RS 9n
-.rt
Driver private mapping data.
.RE
.sp
.ne 2
-.mk
.na
\fB\fIoff\fR \fR
.ad
.RS 9n
-.rt
User offset within the logical device memory at which the access begins.
.RE
.sp
.ne 2
-.mk
.na
\fB\fIlen\fR \fR
.ad
.RS 9n
-.rt
Length (in bytes) of the memory being accessed.
.RE
.sp
.ne 2
-.mk
.na
\fB\fItype\fR \fR
.ad
.RS 9n
-.rt
Type of access operation.
.RE
.sp
.ne 2
-.mk
.na
\fB\fIrw\fR \fR
.ad
.RS 9n
-.rt
Type of access.
.RE
@@ -105,23 +93,19 @@ the \fBdevmap_access\fR(9E) entry point and must not be modified.
.SH RETURN VALUES
.sp
.ne 2
-.mk
.na
\fB\fB0\fR \fR
.ad
.RS 12n
-.rt
Successful completion.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBNon-zero\fR\fR
.ad
.RS 12n
-.rt
An error occurred.
.RE