Kernel Functions for Drivers csxGetFirstClient(9F)
NAME
csxGetFirstClient, csxGetNextClient - return first or next
client
SYNOPSIS
#include
int32t csxGetFirstClient(getfirstnextclientt *fnc);
int32t csxGetNextClient(getfirstnextclientt *fnc);
INTERFACE LEVEL
Solaris DI Specific (Solaris DI)
PARAMETERS
fnc Pointer to a getfirstnextclientt structure.
DESCRIPTION
The functions csxGetFirstClient() and csxGetNextClient()
return information about the first or subsequent PC cards,
respectively, that are installed in the system.
STRUCTURE MEMBERS
The structure members of getfirstnextclientt are:
uint32t Socket; /* socket number */
uint32t Attributes; /* attributes */
clienthandlet clienthandle; /* client handle */
uint32t numclients; /* number of clients */
The fields are defined as follows:
Socket If the CSGETFIRSTNEXTCLIENTSOCKETONLY
attribute is set, return information only
on the PC card installed in this socket.
Attributes This field indicates the type of client.
The field is bit-mapped; the following
bits are defined:
CSGETFIRSTNEXTCLIENTALCLIENTS
Return information on all clients.
SunOS 5.11 Last change: 16 May 1997 1
Kernel Functions for Drivers csxGetFirstClient(9F)
CSGETFIRSTNEXTCLIENTSOCKETONLY
Return client information for the
specified socket only.
clienthandle The client handle of the PC card driver is
returned in this field.
numclients The number of clients is returned in this
field.
RETURN VALUES
CSUCES Successful operation.
CSBADHANDLE Client handle is invalid.
CSBADSOCKET Socket number is invalid.
CSNOCARD No PC Card in socket.
CSNOMOREITEMS PC Card driver does not handle
the CSEVENTCLIENTINFO event.
CSUNSUPORTEDFUNCTION No PCMCIA hardware installed.
CONTEXT
This function may be called from user or kernel context.
SEE ALSO
csxeventhandler(9E)
PC Card 95 Standard, PCMCIA/JEIDA
SunOS 5.11 Last change: 16 May 1997 2
|