SVR5 and SCO OpenServer 5
SetRegion(D4pccard)
SetRegion --
Describes region characteristics
Syntax (Used with unsupported services)
#include <sys/lcs.h>
#include <sys/lss.h>
Description
The SetRegion structure
allows a client to set a PC Card's
region's characteristics.
This allows region characterics to be set
when they are not available in the CIS.
Structure definition
unsigned short usSocket;
unsigned short usAttributes;
unsigned long ulCardOffset;
unsigned long ulRegionSize;
unsigned long ulEffBlockSize;
unsigned short usPartMultiple;
unsigned short usJedecID;
unsigned long ulBaseOffset;
unsigned char ucAccessSpeed;
Structure members
The members are defined as:
usSocket
-
Logical socket.
usAttributes
-
Valid values are:
bit 0-
memory type (set = attribute)
bit 1-
delete region (set = true)
bit 2-
reserved (reset to zero)
bits 3-4-
prefetchable/cacheable
0-
neither
1-
prefetchable only
2-
both prefetchable and chacheable
3-
reserved; do not use
bits 5-7-
reserved (reset to zero)
bit 8-
virtual region (set = true)
bits 9-12-
reserved (reset to zero)
bits 13-15-
base address register number (1-7)
ulCardOffset
-
Card memory region offset
ulRegionSize
-
Region size.
ulEffBlockSize
-
Erase block size.
usPartMultiple
-
Partition multiple.
usJedecID
-
Partition JEBEC memory I/O code.
ulBaseOffset
-
Address bias for MTD.
ucAccessSpeed
-
Window speed.
Usage
Hardware applicability
All
Version applicability
pccard:
1, 2, 3
References
SetRegion(D3pccard)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005