summaryrefslogtreecommitdiff
path: root/usr/src/man/man9f/ldi_devmap.9f
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man9f/ldi_devmap.9f')
-rw-r--r--usr/src/man/man9f/ldi_devmap.9f20
1 files changed, 2 insertions, 18 deletions
diff --git a/usr/src/man/man9f/ldi_devmap.9f b/usr/src/man/man9f/ldi_devmap.9f
index bbd267f1bc..2c7be8f57f 100644
--- a/usr/src/man/man9f/ldi_devmap.9f
+++ b/usr/src/man/man9f/ldi_devmap.9f
@@ -3,7 +3,7 @@
.\" 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 ldi_devmap 9F "3 June 2003" "SunOS 5.11" "Kernel Functions for Drivers"
+.TH LDI_DEVMAP 9F "Jun 3, 2003"
.SH NAME
ldi_devmap \- Issue a devmap request to a device
.SH SYNOPSIS
@@ -11,75 +11,63 @@ ldi_devmap \- Issue a devmap request to a device
.nf
#include <sys/sunldi.h>
-\fBint\fR \fBldi_devmap\fR(\fBldi_handle_t\fR \fIlh\fR, \fBdevmap_cookie_t\fR \fIdhp\fR, \fBoffset_t\fR \fIoff\fR,
+\fBint\fR \fBldi_devmap\fR(\fBldi_handle_t\fR \fIlh\fR, \fBdevmap_cookie_t\fR \fIdhp\fR, \fBoffset_t\fR \fIoff\fR,
\fBsize_t\fR \fIlen\fR, \fBsize_t *\fR\fImaplen\fR, \fBuint_t\fR \fImodel\fR);
.fi
.SH PARAMETERS
.sp
.ne 2
-.mk
.na
\fB\fIlh\fR\fR
.ad
.RS 10n
-.rt
Layered handle.
.RE
.sp
.ne 2
-.mk
.na
\fB\fIdhp\fR\fR
.ad
.RS 10n
-.rt
Opaque mapping handle used by the system to describe mapping.
.RE
.sp
.ne 2
-.mk
.na
\fB\fIoff\fR\fR
.ad
.RS 10n
-.rt
User offset within the logical device memory at which mapping begins.
.RE
.sp
.ne 2
-.mk
.na
\fB\fIlen\fR\fR
.ad
.RS 10n
-.rt
Mapping length (in bytes).
.RE
.sp
.ne 2
-.mk
.na
\fB\fImaplen\fR\fR
.ad
.RS 10n
-.rt
Pointer to length (in bytes) of validated mapping. (Less than or equal to
\fIlen\fR).
.RE
.sp
.ne 2
-.mk
.na
\fB\fImodel\fR\fR
.ad
.RS 10n
-.rt
Data model type of current thread.
.RE
@@ -97,23 +85,19 @@ occurs before the request is passed to the device, possible return values are
shown below. Otherwise any other error number may be returned by the device.
.sp
.ne 2
-.mk
.na
\fBEINVAL\fR
.ad
.RS 11n
-.rt
Invalid input parameters.
.RE
.sp
.ne 2
-.mk
.na
\fBENOTSUP\fR
.ad
.RS 11n
-.rt
Operation is not supported for this device.
.RE