IO_ConfigurationStructure

Describes the platform resources allocated to an adapter.

Syntax

  struct IO_ConfigurationStructure 
  { 
      LONG     reserved1; 
      WORD     CsharingFlags; 
      WORD     CSlot; 
      WORD     CIOPortsAndRanges[4]; 
      struct   MemoryConfiguration  
                  MemoryDecodeAndLength[2]; 
      BYTE     CIntLine[2]; 
      BYTE     CDMALine[2]; 
      LONG     reserved2[7]; 
      BYTE     reserved3[2]; 
      LONG     CLinearMemory[2]; 
      WORD     CChannelNumber; 
      LONG     CBusTag; 
      WORD     CIOConfigVersion; 
  };
  

Fields

reserved1
Reserved by NetWare®.
CsharingFlags
Flags that indicate which resources are shareable. Bit definitions are as follows:

Bit

Description

0x001

IODetached

0x002

IOSharablePort0

0x004

IOSharablePort1

0x008

IOShareableMem0

0x010

IOShareableMem1

0x020

IOSharableInt0

0x040

IOSharableInt1

0x080

IOSharableDMA0

0x100

IOsharableDMA1

Cslot
The slot or Hardware Instance Number (HIN) assigned to this adapter.
CIOPortsAndRanges
Primary port address and length, secondary port address and length.
CmemoryDecodeAndLength
It contains the physical address and length of the primary and secondary memory addresses. This is used when the adapter requires physical memory space to perform its function. See the MemoryConfiguration structure.

See ClinearMemory for the virtual address associated with these memory addresses.

CintLine
Primary and secondary interrupts associated with this adapter. Initialize to 0xFF if not used.
CDMAline
Primary and secondary DMA channels used for this adapter. Initialize to 0xFF if not used.
reserved2
Reserved by NetWare.
reserved3
Reserved by NetWare.
ClinearMemory
Virtual address associated with the physical address found in CMemoryDecodeAndLength.
CchannelNumber
Used for multichannel adapters. It holds the channel number of the Network Interface Circuit to use. Set this field to 0 if multichannels are not used.
CbusTag
The bus tag associated with this adapter.
CIOConfigVersion
The version of the IO_ConfigurationStructure.

See Also

AdapterSpecificInfoDef