1csx_Parse_CISTPL_ORG(9F) Kernel Functions for Drivers csx_Parse_CISTPL_ORG(9F)
2
3
4
6 csx_Parse_CISTPL_ORG - parse the Data Organization tuple
7
9 #include <sys/pccard.h>
10
11
12
13 int32_t csx_Parse_CISTPL_ORG(client_handle_t ch, tuple_t *tu,
14 cistpl_org_t *pt);
15
16
18 Solaris DDI Specific (Solaris DDI)
19
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 call
25 to csx_GetFirstTuple(9F) or csx_GetNextTuple(9F).
26
27
28 pt Pointer to a cistpl_org_t structure which contains the parsed
29 CISTPL_ORG tuple information upon return from this function.
30
31
33 This function parses the Data Organization tuple, CISTPL_ORG, into a
34 form usable by PC Card drivers.
35
36
37 The CISTPL_ORG tuple provides a text description of the organization.
38
40 The structure members of cistpl_org_t are:
41
42 uint32_t type;
43 char desc[CIS_MAX_TUPLE_DATA_LEN];
44
45
46
47 The fields are defined as follows:
48
49 type
50
51 This field indicates type of data organization.
52
53
54 desc[CIS_MAX_TUPLE_DATA_LEN]
55
56 This field provides the text description of this organization.
57
58
60 CS_SUCCESS Successful operation.
61
62
63 CS_BAD_HANDLE Client handle is invalid.
64
65
66 CS_UNKNOWN_TUPLE Parser does not know how to parse tuple.
67
68
69 CS_NO_CARD No PC Card in socket.
70
71
72 CS_NO_CIS No Card Information Structure (CIS) on PC
73 Card.
74
75
76 CS_UNSUPPORTED_FUNCTION No PCMCIA hardware installed.
77
78
80 This function may be called from user or kernel context.
81
83 csx_GetFirstTuple(9F), csx_GetTupleData(9F), csx_RegisterClient(9F),
84 csx_ValidateCIS(9F), tuple(9S)
85
86
87 PC Card 95 Standard, PCMCIA/JEIDA
88
89
90
91SunOS 5.11 24 Jan 1997 csx_Parse_CISTPL_ORG(9F)