CSX_PARSE_CISTPL_DEVICEGEO_A(9F) | Kernel Functions for Drivers | CSX_PARSE_CISTPL_DEVICEGEO_A(9F) |
csx_Parse_CISTPL_DEVICEGEO_A - parse the Device Geo A tuple
#include <sys/pccard.h> int32_t csx_Parse_CISTPL_DEVICEGEO_A(client_handle_t ch, tuple_t *tp,
cistpl_devicegeo_t *pt);
illumos DDI Specific (illumos DDI)
ch
tp
pt
This function parses the Device Geo A tuple, CISTPL_DEVICEGEO_A, into a form usable by PC Card drivers.
The CISTPL_DEVICEGEO_A tuple describes the device geometry of attribute memory partitions.
The structure members of cistpl_devicegeo_t are:
uint32_t info[CISTPL_DEVICEGEO_MAX_PARTITIONS].bus; uint32_t info[CISTPL_DEVICEGEO_MAX_PARTITIONS].ebs; uint32_t info[CISTPL_DEVICEGEO_MAX_PARTITIONS].rbs; uint32_t info[CISTPL_DEVICEGEO_MAX_PARTITIONS].wbs; uint32_t info[CISTPL_DEVICEGEO_MAX_PARTITIONS].part; uint32_t info[CISTPL_DEVICEGEO_MAX_PARTITIONS].hwil;
The fields are defined as follows:
info[CISTPL_DEVICEGEO_MAX_PARTITIONS].bus
info[CISTPL_DEVICEGEO_MAX_PARTITIONS].ebs
info[CISTPL_DEVICEGEO_MAX_PARTITIONS].rbs
info[CISTPL_DEVICEGEO_MAX_PARTITIONS].wbs
info[CISTPL_DEVICEGEO_MAX_PARTITIONS].part
info[CISTPL_DEVICEGEO_MAX_PARTITIONS].hwil
CS_SUCCESS
CS_BAD_HANDLE
CS_UNKNOWN_TUPLE
CS_NO_CARD
CS_NO_CIS
CS_UNSUPPORTED_FUNCTION
This function may be called from user or kernel context.
csx_GetFirstTuple(9F), csx_GetNextTuple(9F), csx_GetTupleData(9F), csx_Parse_CISTPL_DEVICEGEO(9F), csx_RegisterClient(9F), tuple(9S)
PC Card 95 Standard, PCMCIA/JEIDA
May 16, 1997 | OmniOS |