SVR5 and SCO OpenServer 5
Tuple(D4pccard)
Tuple --
element of a CIS to specify capabilities of a PC Card
Syntax
#include <sys/lcs.h>
#include <sys/lss.h>
Description
The Tuple structure
is used to determine the capabilities of a card
from an element of the PC Card's CIS.
Structure definition
unsigned short usSocket;
unsigned short usAttributes;
unsigned char ucDesiredTuple;
unsigned char ucReserved;
unsigned short usFlags;
unsigned long ulLinkOffset;
unsigned long ulCISOffset;
unsigned char ucTupleCode;
unsigned char ucTupleLink;
Structure members
The members are defined as:
usSocket
-
usSocket
is two bytes long.
The more significant byte indicates the function.
The function of single function cards is mapped to zero.
The functions of multi-function cards
are enumerated from zero on up to
the number of functions available less one.
The low byte in usSocket
indicates logical socket.
usAttributes
-
Bit 0 is set to 1 to return link tuples.
ucDesiredTuple
-
ucReserved
-
Reset these bits to 0.
usFlags
-
CardServices tuple flags data.
ulLinkOffset
-
CardServices link state information
ulCISOffset
-
CardServices CIS state information.
ucTupleCode
-
Tuple found.
ucTupleLink
-
Link value for found tuple.
Usage
Hardware applicability
All
Version applicability
pccard:
1, 2, 3
References
GetFirstTuple(D3pccard),
GetNextTuple(D3pccard),
GetTupleData(D3pccard)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005