Kernel Functions for Drivers csxParseCISTPLDEVICEGEO(9F)
NAME
csxParseCISTPLDEVICEGEO - parse the Device Geo tuple
SYNOPSIS
#include
int32t csxParseCISTPLDEVICEGEO(clienthandlet ch, tuplet *tp,
cistpldevicegeot *pt);
INTERFACE LEVEL
Solaris DI Specific (Solaris DI)
PARAMETERS
ch Client handle returned from csxRegisterClient(9F).
tp Pointer to a tuplet structure (see tuple(9S))
returned by a call to csxGetFirstTuple(9F) or
csxGetNextTuple(9F).
pt Pointer to a cistpldevicegeot structure which con-
tains the parsed Device Geo tuple information upon
return from this function.
DESCRIPTION
This function parses the Device Geo tuple, CISTPLDEVICEGEO,
into a form usable by PC Card drivers.
The CISTPLDEVICEGEO tuple describes the device geometry of
common memory partitions.
STRUCTURE MEMBERS
The structure members of cistpldevicegeot are:
uint32t info[CISTPLDEVICEGEOMAXPARTITIONS].bus;
uint32t info[CISTPLDEVICEGEOMAXPARTITIONS].ebs;
uint32t info[CISTPLDEVICEGEOMAXPARTITIONS].rbs;
uint32t info[CISTPLDEVICEGEOMAXPARTITIONS].wbs;
uint32t info[CISTPLDEVICEGEOMAXPARTITIONS].part;
uint32t info[CISTPLDEVICEGEOMAXPARTITIONS].hwil;
The fields are defined as follows:
SunOS 5.11 Last change: 16 May 1997 1
Kernel Functions for Drivers csxParseCISTPLDEVICEGEO(9F)
info[CISTPLDEVICEGEOMAXPARTITIONS].bus
This field indicates the card interface width in bytes
for the given partition.
info[CISTPLDEVICEGEOMAXPARTITIONS].ebs
This field indicates the minimum erase block size for
the given partition.
info[CISTPLDEVICEGEOMAXPARTITIONS].rbs
This field indicates the minimum read block size for the
given partition.
info[CISTPLDEVICEGEOMAXPARTITIONS].wbs
This field indicates the minimum write block size for
the given partition.
info[CISTPLDEVICEGEOMAXPARTITIONS].part
This field indicates the segment partition subdivisions
for the given partition.
info[CISTPLDEVICEGEOMAXPARTITIONS].hwil
This field indicates the hardware interleave
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: 16 May 1997 2
Kernel Functions for Drivers csxParseCISTPLDEVICEGEO(9F)
CSUNSUPORTEDFUNCTION No PCMCIA hardware installed.
CONTEXT
This function may be called from user or kernel context.
SEE ALSO
csxGetFirstTuple(9F), csxGetNextTuple(9F),
csxGetTupleData(9F), csxParseCISTPLDEVICEGEOA(9F),
csxRegisterClient(9F), tuple(9S)
PC Card 95 Standard, PCMCIA/JEIDA
SunOS 5.11 Last change: 16 May 1997 3
|