diff options
Diffstat (limited to 'usr/src/man/man9f/ddi_copyin.9f')
-rw-r--r-- | usr/src/man/man9f/ddi_copyin.9f | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/usr/src/man/man9f/ddi_copyin.9f b/usr/src/man/man9f/ddi_copyin.9f index 7ce3c43695..c0c9406881 100644 --- a/usr/src/man/man9f/ddi_copyin.9f +++ b/usr/src/man/man9f/ddi_copyin.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 ddi_copyin 9F "19 Apr 2000" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_COPYIN 9F "Apr 19, 2000" .SH NAME ddi_copyin \- copy data to a driver buffer .SH SYNOPSIS @@ -25,45 +25,37 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIbuf\fR\fR .ad .RS 13n -.rt Source address from which data is transferred. .RE .sp .ne 2 -.mk .na \fB\fIdriverbuf\fR\fR .ad .RS 13n -.rt Driver destination address to which data is transferred. .RE .sp .ne 2 -.mk .na \fB\fIcn\fR\fR .ad .RS 13n -.rt Number of bytes transferred. .RE .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 13n -.rt Set of flag bits that provide address space information about \fIbuf\fR. .RE @@ -173,11 +165,11 @@ specified argument contains an invalid address, an error code is returned. 26 if (ddi_copyin(arg, ®_buf, 27 sizeof (struct device), mode) != 0) { 28 return (EFAULT); -29 } +29 } 30 mutex_enter(&sp->reg_mutex); 31 /* -32 * Copy data from temporary device register +32 * Copy data from temporary device register 33 * buffer to device registers. 34 * e.g. rp->control = reg_buf.control; 35 */ |