Article ID: 170084
Article Last Modified on 6/29/2004
168303 Masking IRQs for PCMCIA Devices
HKLM\SYSTEM\CCS\Services\Pcmcia\DataBase\XYZ Corp
HKLM\SYSTEM\CCS\Services\Pcmcia\DataBase\XYZ Corp\XYZ device
Driver : REG_SZ : Xyz
Note that the value of the driver specified here does not need to match
the "real" driver's name. For example, the driver that actually
controls a card may be Abc.sys and have a service key name "Abc", but
the driver name specified in the PCMCIA database is "Xyz". In this case,
the driver Abc.sys would look for the resource information under "Xyz"
in the Hardware key (described below).
HKLM\HARDWARE\DESCRIPTION\System\PCMCIA PCCARDS
There should be a value under this key of the name specified in the
PCMCIA database entry for this particular card. For the example
presented thus far, the PCMCIA database described driver "Xyz". So,
under the PCMCIA PCCARDS key should be a value similar to the following:
Xyz : REG_FULL_RESOURCE_DESCRIPTOR : ...
If the ISA driver for the PC Card finds this value, then the PC Card is
configured and ready to go. The resource descriptor layout is described
in the Windows NT DDK. The ISA driver should parse this resource list to
get the information and map the I/O and memory spaces as required, as
well as configure the interrupt.
HKLM\SYSTEM\CCS\Services\Xyz1
HKLM\SYSTEM\CCS\Services\Xyz1\Parameters
Pcmcia : DWORD : 1
AttributeMemorySize : DWORD : 0x1000
InterruptNumber : DWORD : 0xf
IoBaseAddress : DWORD : 0x170
IoBaseAddress_1 : DWORD : 0x376
IoLength : DWORD : 0x8
IoLength_1 : DWORD : 0x2HKLM\SYSTEM\CCS\Services\Pcmcia\DataBase\XYZ Corp\XYZ device Value Name Data Type Description ------------------------- --------- ------------------------------- CcrBase REG_DWORD Configuration register base PortWidth16 REG_DWORD 1=16 bit accesses to I/O space Driver REG_SZ Driver name CardMemorySize REG_DWORD [0] Card memory length CardMemorySize_1 REG_DWORD [1] Card memory length AttributeMemorySize REG_DWORD [0] Attribute memory length AttributeMemorySize_1 REG_DWORD [1] Attribute memory lengthPossible override values for:
HKLM\SYSTEM\CCS\Services\Xyz1\Parameters
Value Name Data Type Description
------------------------- --------- -------------------------------
Pcmcia REG_DWORD 1=enable this configuration
InterruptNumber REG_DWORD Interrupt value
IoBaseAddress REG_DWORD [0] I/O port base address
IoLength REG_DWORD [0] I/O port length
IoBaseAddress_1 REG_DWORD [1] I/O port base address
IoLength_1 REG_DWORD [1] I/O port length
MemoryMappedBaseAddress REG_DWORD [0] Host base memory
MemoryMappedSize REG_DWORD [0] Host base memory length
PCCARDMemoryWindowOffset REG_DWORD [0] Card base (host base offset)
Address_16 REG_DWORD 1=16-bit memory access
MemoryMappedBaseAddress_1 REG_DWORD [1] Host base memory
MemoryMappedSize_1 REG_DWORD [1] Host base memory length
PCCARDMemoryWindowOffset_1 REG_DWORD [1] Card base (host base offset)
Address1_16 REG_DWORD 1=16-bit memory access
MemoryMappedBaseAddress_2 REG_DWORD [2] Host base memory
MemoryMappedSize_2 REG_DWORD [2] Host base memory length
PCCARDMemoryWindowOffset_2 REG_DWORD [2] Card base (host base offset)
Address2_16 REG_DWORD 1=16-bit memory access
MemoryMappedBaseAddress_3 REG_DWORD [3] Host base memory
MemoryMappedSize_3 REG_DWORD [3] Host base memory length
PCCARDMemoryWindowOffset_3 REG_DWORD [3] Card base (host base offset)
Address3_16 REG_DWORD 1=16-bit memory access
PCCARDAttributeMemoryAddress REG_DWORD [0] Attribute memory
PCCARDAttributeMemorySize REG_DWORD [0] Attribute memory length
PCCARDAttributeMemoryOffset REG_DWORD [0] Attribute memory offset
AttributeMemory_16 REG_DWORD 1=16-bit memory access
PCCARDAttributeMemoryAddress_1 REG_DWORD [1] Attribute memory
PCCARDAttributeMemorySize_1 REG_DWORD [1] Attribute memory length
PCCARDAttributeMemoryOffset_1 REG_DWORD [1] Attribute memory offset
AttributeMemory1_16 REG_DWORD 1=16-bit memory access
ModemFunction REG_DWORD 1=multifunction modem device
PCCARDReadyInterrupt REG_DWORD * Not implemented *
Keywords: kbhowto KB170084