Kernel Functions for Drivers csxParseCISTPLONGLINKMFC(9F)
NAME
csxParseCISTPLONGLINKMFC - parse the Multi-Function
tuple
SYNOPSIS
#include
int32t csxParseCISTPLONGLINKMFC(clienthandlet ch, tuplet *tu,
cistpllonglinkmfct *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 cistpllonglinkmfct structure which
contains the parsed CISTPLONGLINKMFC tuple infor-
mation upon return from this function.
DESCRIPTION
This function parses the Multi-Function tuple,
CISTPLONGLINKMFC, into a form usable by PC Card drivers.
The CISTPLONGLINKMFC tuple describes the start of the
function-specific CIS for each function on a multi-function
card.
STRUCTURE MEMBERS
The structure members of cistpllonglinkmfct are:
uint32t nfuncs;
uint32t nregs;
uint32t function[CISMAXFUNCTIONS].tas
uint32t function[CISMAXFUNCTIONS].addr
The fields are defined as follows:
SunOS 5.11 Last change: 24 Jan 1997 1
Kernel Functions for Drivers csxParseCISTPLONGLINKMFC(9F)
nfuncs
This field indicates the number of functions on the PC
card.
nregs
This field indicates the number of configuration regis-
ter sets.
function[CISMAXFUNCTIONS].tas
This field provides the target address space for each
function on the PC card. This field can be one of:
CISTPLONGLINKMFCTASAM
CIS in attribute memory
CISTPLONGLINKMFCTASCM
CIS in common memory
function[CISMAXFUNCTIONS].addr
This field provides the target address offset for
each function on the PC card.
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.
SunOS 5.11 Last change: 24 Jan 1997 2
Kernel Functions for Drivers csxParseCISTPLONGLINKMFC(9F)
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 3
|