1 '\" te 2 .\" Copyright (c) 1997, Sun Microsystems, Inc. All Rights Reserved 3 .\" 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. 4 .\" 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. 5 .\" 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] 6 .TH CSX_SETHANDLEOFFSET 9F "May 16, 1997" 7 .SH NAME 8 csx_SetHandleOffset \- set current access handle offset 9 .SH SYNOPSIS 10 .LP 11 .nf 12 #include <sys/pccard.h> 13 14 15 16 \fBint32_t\fR \fBcsx_SetHandleOffset\fR(\fBacc_handle_t\fR \fIhandle\fR, \fBuint32_t\fR \fIoffset\fR); 17 .fi 18 19 .SH INTERFACE LEVEL 20 .sp 21 .LP 22 Solaris \fBDDI\fR Specific (Solaris \fBDDI\fR) 23 .SH PARAMETERS 24 .sp 25 .ne 2 26 .na 27 \fB\fIhandle\fR \fR 28 .ad 29 .RS 11n 30 Access handle returned by \fBcsx_RequestIRQ\fR(9F) or \fBcsx_RequestIO\fR(9F). 31 .RE 32 33 .sp 34 .ne 2 35 .na 36 \fB\fIoffset\fR \fR 37 .ad 38 .RS 11n 39 New access handle offset. 40 .RE 41 42 .SH DESCRIPTION 43 .sp 44 .LP 45 This function sets the current offset for the access handle, \fIhandle\fR, to 46 \fIoffset\fR. 47 .SH RETURN VALUES 48 .sp 49 .ne 2 50 .na 51 \fB\fBCS_SUCCESS\fR \fR 52 .ad 53 .RS 15n 54 Successful operation. 55 .RE 56 57 .SH CONTEXT 58 .sp 59 .LP 60 This function may be called from user or kernel context. 61 .SH SEE ALSO 62 .sp 63 .LP 64 \fBcsx_GetHandleOffset\fR(9F), \fBcsx_RequestIO\fR(9F), 65 \fBcsx_RequestIRQ\fR(9F) 66 .sp 67 .LP 68 \fIPC Card 95 Standard\fR, PCMCIA/JEIDA