Kernel Functions for Drivers csxParseCISTPLONGLINKA(9F)
NAME
csxParseCISTPLONGLINKA, csxParseCISTPLONGLINKC -
parse the Long Link A and C tuples
SYNOPSIS
#include
int32t csxParseCISTPLONGLINKA(clienthandlet ch, tuplet *tu,
cistpllonglinkact *pt);
int32t csxParseCISTPLONGLINKC(clienthandlet ch, tuplet *tu,
cistpllonglinkact *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 cistpllonglinkact structure which
contains the parsed CISTPLONGLINKA or
CISTPLONGLINKC tuple information upon return from
this function.
DESCRIPTION
This function parses the Long Link A and C tuples,
CISTPLONGLINKA and CISTPLONGLINKA, into a form usable
by PC Card drivers.
The CISTPLONGLINKA and CISTPLONGLINKC tuples provide
links to Attribute and Common Memory.
STRUCTURE MEMBERS
The structure members of cistpllonglinkact are:
uint32t flags;
uint32t tplladdr;
SunOS 5.11 Last change: 24 Jan 1997 1
Kernel Functions for Drivers csxParseCISTPLONGLINKA(9F)
The fields are defined as follows:
flags This field indicates the type of memory:
CISTPLONGLINKACAM long link to Attri-
bute Memory
CISTPLONGLINKACM long link to Common
Memory
tplladdr This field provides the offset from the begin-
ning of the specified address space.
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
|