1csx_Parse_CISTPL_SWIL(9F)Kernel Functions for Driverscsx_Parse_CISTPL_SWIL(9F)
2
3
4
6 csx_Parse_CISTPL_SWIL - parse the Software Interleaving tuple
7
9 #include <sys/pccard.h>
10
11
12
13 int32_t csx_Parse_CISTPL_SWIL(client_handle_t ch, tuple_t *tu,
14 cistpl_swil_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_swil_t structure which contains the parsed
29 CISTPL_SWIL tuple information upon return from this function.
30
31
33 This function parses the Software Interleaving tuple, CISTPL_SWIL, into
34 a form usable by PC Card drivers.
35
36
37 The CISTPL_SWIL tuple provides the software interleaving of data within
38 a partition on the card.
39
41 The structure members of cistpl_swil_t are:
42
43 uint32_t intrlv;
44
45
46
47 The fields are defined as follows:
48
49 intrlv This field provides the software interleaving for a partiā
50 tion.
51
52
54 CS_SUCCESS Successful operation.
55
56
57 CS_BAD_HANDLE Client handle is invalid.
58
59
60 CS_UNKNOWN_TUPLE Parser does not know how to parse tuple.
61
62
63 CS_NO_CARD No PC Card in socket.
64
65
66 CS_NO_CIS No Card Information Structure (CIS) on PC
67 Card.
68
69
70 CS_UNSUPPORTED_FUNCTION No PCMCIA hardware installed.
71
72
74 This function may be called from user or kernel context.
75
77 csx_GetFirstTuple(9F), csx_GetTupleData(9F), csx_RegisterClient(9F),
78 csx_ValidateCIS(9F), tuple(9S)
79
80
81 PC Card 95 Standard, PCMCIA/JEIDA
82
83
84
85SunOS 5.11 24 Jan 1997 csx_Parse_CISTPL_SWIL(9F)