CSX_DEREGISTERCLIENT(9F) Kernel Functions for Drivers
csx_DeregisterClient - remove client from Card Services list
#include <sys/pccard.h>
int32_t csx_DeregisterClient(client_handle_t ch);
illumos DDI Specific (illumos DDI)
ch
Client handle returned from csx_RegisterClient(9F).
This function removes a client from the list of registered clients
maintained by Card Services. The Client Handle returned by
csx_RegisterClient(9F) is passed in the client_handle_t argument.
The client must have returned all requested resources before this
function is called. If any resources have not been released,
CS_IN_USE is returned.
CS_SUCCESS
Successful operation.
CS_BAD_HANDLE
Client handle is invalid.
CS_IN_USE
Resources not released by this client.
CS_UNSUPPORTED_FUNCTION
No PCMCIA hardware installed.
This function may be called from user or kernel context.
csx_RegisterClient(9F)
PC Card 95 Standard, PCMCIA/JEIDA
Clients should be prepared to receive callbacks until Card Services
returns from this request successfully.
July 19, 1996 CSX_DEREGISTERCLIENT(9F)
NAME
csx_DeregisterClient - remove client from Card Services list
SYNOPSIS
#include <sys/pccard.h>
int32_t csx_DeregisterClient(client_handle_t ch);
INTERFACE LEVEL
illumos DDI Specific (illumos DDI)
PARAMETERS
ch
Client handle returned from csx_RegisterClient(9F).
DESCRIPTION
This function removes a client from the list of registered clients
maintained by Card Services. The Client Handle returned by
csx_RegisterClient(9F) is passed in the client_handle_t argument.
The client must have returned all requested resources before this
function is called. If any resources have not been released,
CS_IN_USE is returned.
RETURN VALUES
CS_SUCCESS
Successful operation.
CS_BAD_HANDLE
Client handle is invalid.
CS_IN_USE
Resources not released by this client.
CS_UNSUPPORTED_FUNCTION
No PCMCIA hardware installed.
CONTEXT
This function may be called from user or kernel context.
SEE ALSO
csx_RegisterClient(9F)
PC Card 95 Standard, PCMCIA/JEIDA
WARNINGS
Clients should be prepared to receive callbacks until Card Services
returns from this request successfully.
July 19, 1996 CSX_DEREGISTERCLIENT(9F)