Hi All,
We written a WDM driver for 16 bit PCMCIA PC card in Win2k.We
are able to read only either Memory or IO locations.We defined one IO
resource,one INTR and Two Memory
( attribute and common) resources in INF file using LogConfigOverride
section as shown below.
PCCARD.NT.LogConfigOverride]
LogConfig = Override0
[Override0]
ConfigPriority = NORMAL
IOConfig = 21@300-3FF%FDF ;
IRQConfig = 3,4,5,7,9,10,11,12,15 ; IRQ
MemConfig = 1000@0-FFFFFFFF%FFFFF000 ; Attribute Memory Descriptor
MemConfig = 4000@0-FFFFFFFF%FFFFC000 ; Common Memory Descriptor
PCCardConfig = 1:0:0(AC M XM0) ; ConfigIndex
In device manager our device properties window If I use automatic
settings, we are able to read/write Attribute and Common Memory. We are
not able to access IO locations. And if I uncheck the "Use Automatic
settings" , and select one of the IO resource from the "Settings
base on" combo box which is not conflicted IO resource. In our case
it ranges from 0x200 to 0x221. In CIS tuples I defined 0x200 as IO base
and 0x21 as IO Range.If I set this only resource as current
configuration. Then We are able to read/write IO locations. Since this
manually selected Current configuration, there is no memory resource
that's why memory is not accessible. In order to get the access to
both memory and IO What should I do?
Any mistake in INF file please correct me.
Thanks in Advance.
Mahender.