Kernel Functions for Drivers csxParseCISTPLORG(9F)
NAME
csxParseCISTPLORG - parse the Data Organization tuple
SYNOPSIS
#include
int32t csxParseCISTPLORG(clienthandlet ch, tuplet *tu,
cistplorgt *pt);
INTERFACE LEVEL
Solaris DI Specific (Solaris DI)
PARAMETERS
ch Client handle returned from csxRegisterClient(9F).
tu Pointer to a tuplet structure (see tuple(9S))
returned by a call to csxGetFirstTuple(9F) or
csxGetNextTuple(9F).
pt Pointer to a cistplorgt structure which contains the
parsed CISTPLORG tuple information upon return from
this function.
DESCRIPTION
This function parses the Data Organization tuple,
CISTPLORG, into a form usable by PC Card drivers.
The CISTPLORG tuple provides a text description of the
organization.
STRUCTURE MEMBERS
The structure members of cistplorgt are:
uint32t type;
char desc[CISMAXTUPLEDATALEN];
The fields are defined as follows:
type
This field indicates type of data organization.
SunOS 5.11 Last change: 24 Jan 1997 1
Kernel Functions for Drivers csxParseCISTPLORG(9F)
desc[CISMAXTUPLEDATALEN]
This field provides the text description of this organi-
zation.
RETURN VALUES
CSUCES Successful operation.
CSBADHANDLE Client handle is invalid.
CSUNKNOWNTUPLE Parser does not know how to parse
tuple.
CSNOCARD No PC Card in socket.
CSNOCIS No Card Information Structure
(CIS) on PC Card.
CSUNSUPORTEDFUNCTION No PCMCIA hardware installed.
CONTEXT
This function may be called from user or kernel context.
SEE ALSO
csxGetFirstTuple(9F), csxGetTupleData(9F),
csxRegisterClient(9F), csxValidateCIS(9F), tuple(9S)
PC Card 95 Standard, PCMCIA/JEIDA
SunOS 5.11 Last change: 24 Jan 1997 2
|