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_DEREGISTERCLIENT 9F "Jul 19, 1996"
8 csx_DeregisterClient \- remove client from Card Services list
12 #include <sys/pccard.h>
16 \fBint32_t\fR \fBcsx_DeregisterClient\fR(\fBclient_handle_t\fR \fIch\fR);
22 Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR
30 Client handle returned from \fBcsx_RegisterClient\fR(9F).
36 This function removes a client from the list of registered clients maintained
37 by Card Services. The Client Handle returned by \fBcsx_RegisterClient\fR(9F) is
38 passed in the \fBclient_handle_t\fR argument.
41 The client must have returned all requested resources before this function is
42 called. If any resources have not been released, \fBCS_IN_USE\fR is returned.
47 \fB\fBCS_SUCCESS\fR \fR
56 \fB\fBCS_BAD_HANDLE\fR \fR
59 Client handle is invalid.
65 \fB\fBCS_IN_USE\fR \fR
68 Resources not released by this client.
74 \fB\fBCS_UNSUPPORTED_FUNCTION\fR \fR
77 No \fBPCMCIA \fRhardware installed.
83 This function may be called from user or kernel context.
87 \fBcsx_RegisterClient\fR(9F)
90 \fIPC Card 95 Standard, PCMCIA/JEIDA\fR
94 Clients should be prepared to receive callbacks until Card Services returns
95 from this request successfully.