SVR5 and  SCO OpenServer 5
RequestConfiguration(D4pccard)
RequestConfiguration --
describes the socket and PC Card to be configured
Syntax
   #include <sys/lcs.h>
   #include <sys/lss.h>
   
Description
The RequestConfiguration structure
is used to configure the PC Card and socket.
This service must be used by clients
that require DMA channel routing,
I/O windows to be enabled,
and IRQ number routing.
Structure definition
   unsigned short  	usSocket;
   unsigned short  	usAttributes;
   unsigned char   	ucVcc;
   unsigned char   	ucVpp1;
   unsigned char   	ucVpp2;
   unsigned char   	ucIntType;
   unsigned long   	ulConfigBase;
   uchar ucStatus
   uchar			ucPin
   uchar			ucCopy
   uchar			ucConfigIndex
   uchar			ucPresent
   uchar			ucExtendedStatus
Structure members
The members are defined as:
 - usSocket
- 
Low bite indicates socket.
High bite indicates function.
 - usAttributes
- 
Valid values are:
 bit 0
- 
reserved (reset to 0)
 bit 1
- 
set (1) = enable IRQ steering
 bit 25
- 
eserved (reset to 0)
 bit 6
- 
set (1) = enable DMA channel
 bit 78
- 
reserved (reset to 0)
 bit 9
- 
VSOVERRIDE set (1);
override VS pins disabling voltage protection
 bit 1015
- 
eserved (reset to 0)
 
 - ucVcc
- 
Vcc setting.
 - ucVpp1
- 
Vpp1 setting.
 - ucVpp2
- 
Vpp2 setting.
 - ucIntType
- 
Memory or memory plus I/O.
 
 bit 0
- 
memory, set (1) = true
 bit 1
- 
memory and I/O, set (1) = true
 bit 2
- 
IF_CARDBUS, set (1) = true
 bit 37
- 
reserved (reset to 0)
 
Note that bits 0, 1, and 2 are mutually exclusive.
Only one of these may be set.
 
 - ulConfigBase
- 
Base address of configuration registers.
 
 bit 0
- 
option
 bit 1
- 
status
 bit 2
- 
pin replacement
 bit 3
- 
copy
 bit 4
- 
extended status
 bit 57
- 
reserved (reset to 0)
 
 - ucStatus
- 
Card status register setting.
 - ucPin
- 
Card pin register setting.
 - ucCopy
- 
Card socket/copy register setting.
 - ulConfigIndex
- 
Card option register setting.
 - ucPresent
- 
Card configuration registers
that are present.
 - ucExtendedStatus
- 
Extended status register setting.
Usage
Hardware applicability
All
Version applicability
pccard:
1, 2, 3
References
AccessConfigurationRegister(D3pccard)
19 June 2005
© 2005 The SCO Group, Inc.  All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005