SVR5 and SCO OpenServer 5
AccessConfigurationRegister(D4pccard)
AccessConfigurationRegister --
PC card configuration register structure
Syntax
#include <sys/lcs.h>
#include <sys/lss.h>
Description
The AccessConfigurationRegister structure
is used by PC Card clients
to read or write PC Card configuration registers.
Structure definition
The AccessConfigurationRegister data structure
contains the following members:
unsigned short usSocket;
unsigned char ucAction;
unsigned char ucOffset;
unsigned long ulValue;
unsigned char ucRegister;
Structure members
The members are defined as:
usSocket
-
Two bytes.
The high byte defines the function,
the low byte defines the logical socket.
ucAction
-
Defines the action to take.
Valid values are:
1-
Write
ulValue
to configuration register.
0-
Update
ulValue
from
RequestConfiguration(D4pccard).
ucOffset
-
Relative to register base in the
RequestConfiguration(D4pccard)
structure.
1 byte.
ulValue
-
Value to read or write.
4 bytes.
ucRegister
-
Specifies configuration space.
1 byte.
Usage
This structure is the only way clients
can access Cardbus PC Card registers
in configuration space.
Hardware applicability
All
Version applicability
pccard:
1, 2, 3
References
AccessConfigurationRegister(D3pccard),
RequestConfiguration(D4pccard)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005