2 .\" Copyright (c) 1996, 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_RESETFUNCTION 9F "Jul 19, 1996"
8 csx_ResetFunction \- reset a function on a PC card
12 #include <sys/pccard.h>
16 \fBint32_t\fR \fBcsx_ResetFunction\fR(\fBclient_handle_t\fR \fIch\fR, \fBreset_function_t *\fR\fIrf\fR);
22 Solaris \fBDDI\fR Specific (Solaris \fBDDI\fR)
30 Client handle returned from \fBcsx_RegisterClient\fR(9F).
39 Pointer to a \fBreset_function_t\fR structure.
45 \fBcsx_ResetFunction()\fR requests that the specified function on the \fBPC\fR
46 card initiate a reset operation.
50 The structure members of \fBreset_function_t\fR are:
54 uint32_t Socket; /* socket number */
55 uint32_t Attributes; /* reset attributes */
61 The fields are defined as follows:
68 Not used in Solaris, but for portability with other Card Services
69 implementations, it should be set to the logical socket number.
75 \fB\fBAttributes\fR\fR
85 \fB\fBCS_SUCCESS\fR\fR
88 Card Services has noted the reset request.
97 This Card Services implementation does not permit configured cards to be reset.
103 \fB\fBCS_BAD_HANDLE\fR\fR
106 Client handle is invalid.
112 \fB\fBCS_NO_CARD\fR\fR
115 No \fBPC\fR card in socket.
121 \fB\fBCS_BAD_SOCKET\fR\fR
124 Specified socket or function number is invalid.
130 \fB\fBCS_UNSUPPORTED_FUNCTION\fR\fR
133 No \fBPCMCIA\fR hardware installed.
139 This function may be called from user or kernel context.
143 \fBcsx_event_handler\fR(9E), \fBcsx_RegisterClient\fR(9F)
146 \fIPC Card 95 Standard\fR, PCMCIA/JEIDA
150 \fBcsx_ResetFunction()\fR has not been implemented in this release and always
151 returns \fBCS_IN_USE\fR.