1csx_Parse_CISTPL_JEDEC_C(9KFe)rnel Functions for Drivecrssx_Parse_CISTPL_JEDEC_C(9F)
2
3
4

NAME

6       csx_Parse_CISTPL_JEDEC_C,  csx_Parse_CISTPL_JEDEC_A - parse JEDEC Iden‐
7       tifier tuples
8

SYNOPSIS

10       #include <sys/pccard.h>
11
12
13
14       int32_t csx_Parse_CISTPL_JEDEC_C(client_handle_t ch, tuple_t *tu,
15            cistpl_jedec_t *cj);
16
17
18       int32_t csx_Parse_CISTPL_JEDEC_A(client_handle_t ch, tuple_t *tu,
19            cistpl_jedec_t *cj);
20
21

INTERFACE LEVEL

23       Solaris DDI Specific (Solaris DDI)
24

PARAMETERS

26       ch    Client handle returned from csx_RegisterClient(9F).
27
28
29       tu    Pointer to a tuple_t structure (see tuple(9S)) returned by a call
30             to csx_GetFirstTuple(9F) or csx_GetNextTuple(9F).
31
32
33       cj    Pointer  to  a cistpl_jedec_t structure which contains the parsed
34             CISTPL_JEDEC_C or CISTPL_JEDEC_A tuple  information  upon  return
35             from these functions, respectively.
36
37

DESCRIPTION

39       csx_Parse_CISTPL_JEDEC_C()  and  csx_Parse_CISTPL_JEDEC_A()  parse  the
40       JEDEC Identifier tuples,  CISTPL_JEDEC_C  and  CISTPL_JEDEC_A,  respec‐
41       tively, into a form usable by PC Card drivers.
42
43
44       The  CISTPL_JEDEC_C  and CISTPL_JEDEC_A tuples are optional tuples pro‐
45       vided for cards containing programmable devices. They describe informa‐
46       tion for Common Memory or Attribute Memory space, respectively.
47

STRUCTURE MEMBERS

49       The structure members of cistpl_jedec_t are:
50
51          uint32_t        nid;   /* # of JEDEC identifiers present */
52           jedec_ident_t   jid[CISTPL_JEDEC_MAX_IDENTIFIERS];
53
54
55
56       The structure members of jedec_ident_t are:
57
58          uint32_t        id;    /* manufacturer id */
59           uint32_t        info;  /* manufacturer specific info */
60
61

RETURN VALUES

63       CS_SUCCESS                 Successful operation.
64
65
66       CS_BAD_HANDLE              Client handle is invalid.
67
68
69       CS_UNKNOWN_TUPLE           Parser does not know how to parse tuple.
70
71
72       CS_NO_CARD                 No PC Card in socket.
73
74
75       CS_NO_CIS                  No  Card  Information  Structure (CIS) on PC
76                                  Card.
77
78
79       CS_UNSUPPORTED_FUNCTION    No PCMCIA hardware installed.
80
81

CONTEXT

83       These functions may be called from user or kernel context.
84

SEE ALSO

86       csx_GetFirstTuple(9F),                            csx_GetTupleData(9F),
87       csx_Parse_CISTPL_DEVICE(9F),    csx_RegisterClient(9F),   csx_Validate‐
88       CIS(9F), tuple(9S)
89
90
91       PC Card 95 Standard, PCMCIA/JEIDA
92
93
94
95SunOS 5.11                        20 Dec 1996     csx_Parse_CISTPL_JEDEC_C(9F)
Impressum