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.

RE: Problem! Either memory or IO locations are accessed in Win2K WDM d by pavel_a

pavel_a
Wed Nov 23 14:30:10 CST 2005

Your IOconfig line syntax looks wrong.
Please do read the documentation and fix it.

(note: some in-box XP INFs have weird IOconfig syntax like your's,
but I never had had that h/w installed so don't know whether it works. )

Good luck,
--PA


"mahi" wrote:
> 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.
>
>