1csx_ParseTuple(9F)       Kernel Functions for Drivers       csx_ParseTuple(9F)
2
3
4

NAME

6       csx_ParseTuple - generic tuple parser
7

SYNOPSIS

9       #include <sys/pccard.h>
10
11
12
13       int32_t csx_ParseTuple(client_handle_t ch, tuple_t *tu, cisparse_t *cp,
14            cisdata_t cd);
15
16

INTERFACE LEVEL

18       Solaris DDI Specific (Solaris DDI)
19

PARAMETERS

21       ch     Client handle returned from csx_RegisterClient(9F).
22
23
24       tu     Pointer  to  a  tuple_t  structure (see tuple(9S)) returned by a
25              call to csx_GetFirstTuple(9F) or csx_GetNextTuple(9F).
26
27
28       cp     Pointer to a cisparse_t structure that unifies all tuple parsing
29              structures.
30
31
32       cd     Extended tuple data for some tuples.
33
34

DESCRIPTION

36       This function is the generic tuple parser entry point.
37

STRUCTURE MEMBERS

39       The structure members of cisparse_t are:
40
41           typedef union cisparse_t {
42              cistpl_config_t           cistpl_config;
43              cistpl_device_t           cistpl_device;
44              cistpl_vers_1_t           cistpl_vers_1;
45              cistpl_vers_2_t           cistpl_vers_2;
46              cistpl_jedec_t            cistpl_jedec;
47              cistpl_format_t           cistpl_format;
48              cistpl_geometry_t         cistpl_geometry;
49              cistpl_byteorder_t        cistpl_byteorder;
50              cistpl_date_t             cistpl_date;
51              cistpl_battery_t          cistpl_battery;
52              cistpl_org_t              cistpl_org;
53              cistpl_manfid_t           cistpl_manfid;
54              cistpl_funcid_t           cistpl_funcid;
55              cistpl_funce_t            cistpl_funce;
56              cistpl_cftable_entry_t    cistpl_cftable_entry;
57              cistpl_linktarget_t       cistpl_linktarget;
58              cistpl_longlink_ac_t      cistpl_longlink_ac;
59              cistpl_longlink_mfc_t     cistpl_longlink_mfc;
60              cistpl_spcl_t             cistpl_spcl;
61              cistpl_swil_t             cistpl_swil;
62              cistpl_bar_t              cistpl_bar;
63              cistpl_devicegeo_t        cistpl_devicegeo;
64              cistpl_longlink_cb_t      cistpl_longlink_cb;
65              cistpl_get_tuple_name_t   cistpl_get_tuple_name;
66           } cisparse_t;
67
68

RETURN VALUES

70       CS_SUCCESS                  Successful operation.
71
72
73       CS_BAD_HANDLE               Client handle is invalid.
74
75
76       CS_UNKNOWN_TUPLE            Parser does not know how to parse tuple.
77
78
79       CS_NO_CARD                  No PC Card in socket.
80
81
82       CS_BAD_CIS                  Generic parser error.
83
84
85       CS_NO_CIS                   No  Card  Information Structure (CIS) on PC
86                                   Card.
87
88
89       CS_UNSUPPORTED_FUNCTION     No PCMCIA hardware installed.
90
91

CONTEXT

93       This function may be called from user or kernel context.
94

SEE ALSO

96       csx_GetFirstTuple(9F),   csx_GetTupleData(9F),    csx_Parse_CISTPL_BAT‐
97       TERY(9F),                               csx_Parse_CISTPL_BYTEORDER(9F),
98       csx_Parse_CISTPL_CFTABLE_ENTRY(9F),        csx_Parse_CISTPL_CONFIG(9F),
99       csx_Parse_CISTPL_DATE(9F),                 csx_Parse_CISTPL_DEVICE(9F),
100       csx_Parse_CISTPL_FUNCE(9F),                csx_Parse_CISTPL_FUNCID(9F),
101       csx_Parse_CISTPL_JEDEC_C(9F),              csx_Parse_CISTPL_MANFID(9F),
102       csx_Parse_CISTPL_SPCL(9F),                 csx_Parse_CISTPL_VERS_1(9F),
103       csx_Parse_CISTPL_VERS_2(9F),    csx_RegisterClient(9F),   csx_Validate‐
104       CIS(9F), tuple(9S)
105
106
107       PC Card 95 Standard, PCMCIA/JEIDA
108
109
110
111SunOS 5.11                        20 Dec 1996               csx_ParseTuple(9F)
Impressum