DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
SVR5 and SCO OpenServer 5

ModifyConfiguration(D4pccard)


ModifyConfiguration -- describe modification of a socket and PC Card configuration

Syntax

   #include <sys/lcs.h>
   #include <sys/lss.h>
   

Description

The ModifyConfiguration structure is used to allow a socket and PC Card configuration to be modified.

Structure definition

   unsigned short  	usSocket;
   unsigned short  	usAttributes;
   unsigned char   	ucReserved;
   unsigned char   	ucVpp1;
   unsigned char   	ucVpp2;

Structure members

The members are defined as:

usSocket
Card function. 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-mapped member.

bit 0
reserved (reset to 0)

bit 1
enable IRQ steering, set (1) = true

bit 2
IRQ change valid (set = true).

bit 3
ignored

bit 4
Vpp1 change valid, set (1) = true

bit 5
Vpp2 change valid, set (1) = true

bit 6
enable DMA channel, set (1) = true

bit 7
DMA change valid, true

bit 8
reserved (reset to 0)

bit 9
VSOVERRIDE, set (1) = override VS pins (overrides card voltage protection)

bit 10-15
reserved (reset to 0)

ucReserved
Reserved.

ucVpp1
Vpp1 setting.

ucVpp2
Vpp2 setting.

Usage

This service can only modify a configuration that is requested with the RequestConfiguration(D3pccard) service.

Hardware applicability

All

Version applicability

pccard: 1, 2, 3

References

ModifyConfiguration(D3pccard)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005