Kernel Functions for Drivers csxParseCISTPLVERS2(9F)
NAME
csxParseCISTPLVERS2 - parse Level-2 Version and Informa-
tion tuple
SYNOPSIS
#include
int32t csxParseCISTPLVERS2(clienthandlet ch, tuplet *tu,
cistplvers2t *cv2);
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).
cv2 Pointer to a cistplvers2t structure which contains
the parsed CISTPLVERS2 tuple information upon
return from this function.
DESCRIPTION
This function parses the Level-2 Version and Information
tuple, CISTPLVERS2, into a form usable by PC Card drivers.
The CISTPLVERS2 tuple is used to describe the card Level-2
information which has the logical organization of the card's
data.
STRUCTURE MEMBERS
The structure members of cistplvers2t are:
uint32t vers; /* version number */
uint32t comply; /* level of compliance */
uint32t dindex; /* byte address of first data byte in card */
uint32t vspec8; /* vendor specific (byte 8) */
uint32t vspec9; /* vendor specific (byte 9) */
uint32t nhdr; /* number of copies of CIS present on device */
char oem[CISMAXTUPLEDATALEN];
/* Vendor of software that formatted card */
char info[CISMAXTUPLEDATALEN];
/* Informational message about card */
SunOS 5.11 Last change: 20 Dec 1996 1
Kernel Functions for Drivers csxParseCISTPLVERS2(9F)
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: 20 Dec 1996 2
|