Hi, I have a PCMCIA which I need to have an I/O Window
mapped to it and I require the PCMCIA bus controller to
use the wait signal to access the i/o registers on my
card. After searching high and low for the past few days,
I realised that I can specify logConfigOverride section in
the .inf file. The thing is there are so many things to
it that I think I am getting everything wrong and my
driver installation keeps crashing my PC. Here is what I
have:

[card.override0]
ConfigPriority = NORMAL
IOConfig = 128@fd00-fdff
IRQConfig = 9
PCCardConfig = 1:0(W XI1)

First of all I will like to know what is the address range
specified in the IOConfig directive. I took the address
range above from the resource properties of my PCMCIA card
bus controller (in Device Manager).

Then for the PCCardConfig, what is the configuration
index? Is it the mask of the configuration option
register of PCMCIA card?

Finally, if I use the method above, does that mean that my
driver installation will only work on my pc?

Re: Can someone help?! PCMCIA LogConfigOverride by Marc

Marc
Tue Nov 18 09:41:01 CST 2003

Try:

[card.override0]
ConfigPriority = NORMAL
IOConfig = 128@0000-ffff ; give the host more latitude
IRQConfig=LS:3,4,5,7,9,10,11 ; Level, Shared, give the host more latitude
PCCardConfig = 1:0(W XI1) ; What ever you put here should at least disable
the interrupts. You enable things in the driver.

Marc Reinig
System Solutions

"Wei Wei" <anonymous@discussions.microsoft.com> wrote in message
news:048701c3adbc$10abb050$a601280a@phx.gbl...
> Hi, I have a PCMCIA which I need to have an I/O Window
> mapped to it and I require the PCMCIA bus controller to
> use the wait signal to access the i/o registers on my
> card. After searching high and low for the past few days,
> I realised that I can specify logConfigOverride section in
> the .inf file. The thing is there are so many things to
> it that I think I am getting everything wrong and my
> driver installation keeps crashing my PC. Here is what I
> have:
>
> [card.override0]
> ConfigPriority = NORMAL
> IOConfig = 128@fd00-fdff
> IRQConfig = 9
> PCCardConfig = 1:0(W XI1)
>
> First of all I will like to know what is the address range
> specified in the IOConfig directive. I took the address
> range above from the resource properties of my PCMCIA card
> bus controller (in Device Manager).
>
> Then for the PCCardConfig, what is the configuration
> index? Is it the mask of the configuration option
> register of PCMCIA card?
>
> Finally, if I use the method above, does that mean that my
> driver installation will only work on my pc?



Re: Can someone help?! PCMCIA LogConfigOverride by Wei

Wei
Tue Nov 18 19:16:53 CST 2003

Hi thanks for the reply. I can only disable the interrupt
by writing to a register on my device. The problem is if
I could not get an i/o window that allows me to read/write
properly, how can I disable the interrupt?

Regarding the (W XI1) in the PcCardConfig directive, I
notice that for the 8-bit i/o, 0 indicates one additional
wait and 1 indicates zero wait states and for 16-bit i/o,
the other way is correct. So I wonder if there is any
mistake in the documentation.

The next thing is the decode mask that I need to specify
in the IoConfig directive. Do you have any idea what is
that?

Thanks once again.

>-----Original Message-----
>Try:
>
>[card.override0]
>ConfigPriority = NORMAL
>IOConfig = 128@0000-ffff ; give the host more latitude
>IRQConfig=LS:3,4,5,7,9,10,11 ; Level, Shared, give the
host more latitude
>PCCardConfig = 1:0(W XI1) ; What ever you put here should
at least disable
>the interrupts. You enable things in the driver.
>
>Marc Reinig
>System Solutions
>
>"Wei Wei" <anonymous@discussions.microsoft.com> wrote in
message
>news:048701c3adbc$10abb050$a601280a@phx.gbl...
>> Hi, I have a PCMCIA which I need to have an I/O Window
>> mapped to it and I require the PCMCIA bus controller to
>> use the wait signal to access the i/o registers on my
>> card. After searching high and low for the past few
days,
>> I realised that I can specify logConfigOverride section
in
>> the .inf file. The thing is there are so many things to
>> it that I think I am getting everything wrong and my
>> driver installation keeps crashing my PC. Here is what
I
>> have:
>>
>> [card.override0]
>> ConfigPriority = NORMAL
>> IOConfig = 128@fd00-fdff
>> IRQConfig = 9
>> PCCardConfig = 1:0(W XI1)
>>
>> First of all I will like to know what is the address
range
>> specified in the IOConfig directive. I took the address
>> range above from the resource properties of my PCMCIA
card
>> bus controller (in Device Manager).
>>
>> Then for the PCCardConfig, what is the configuration
>> index? Is it the mask of the configuration option
>> register of PCMCIA card?
>>
>> Finally, if I use the method above, does that mean that
my
>> driver installation will only work on my pc?
>
>
>.
>

Re: Can someone help?! PCMCIA LogConfigOverride by Marc

Marc
Tue Nov 18 19:50:29 CST 2003


"Wei Wei" <anonymous@discussions.microsoft.com> wrote in message
news:047e01c3ae3a$d1340790$a101280a@phx.gbl...
> Hi thanks for the reply. I can only disable the interrupt
> by writing to a register on my device. The problem is if
> I could not get an i/o window that allows me to read/write
> properly, how can I disable the interrupt?

Well, if your device has its interrupt enabled and generates an interrupt
before you get to disable it, you might have a problem. I think your device
design needs to be rethought.

Marc Reinig
System Solutions




Re: Can someone help?! PCMCIA LogConfigOverride by Wei

Wei
Tue Nov 18 20:09:08 CST 2003

No, my device does not generate interrupt at the
beginning.

Anyway, my problem now is I can't even do simple
WRITE_PORT_xxx/READ_PORT_XXX and I believe the issue is
due to the fact that my PCMCIA card requires one
additional wait state in i/o read/write.

I have no problems in WinCE where I have access in my
driver to card services and hence I can specify the
window_use_speed_wait attribute when I request for I/O
window. But in Win2k, I believe I can only do it through
logconfig method in inf file. But.. you know, it just
doesn't work!

>-----Original Message-----
>
>"Wei Wei" <anonymous@discussions.microsoft.com> wrote in
message
>news:047e01c3ae3a$d1340790$a101280a@phx.gbl...
>> Hi thanks for the reply. I can only disable the
interrupt
>> by writing to a register on my device. The problem is
if
>> I could not get an i/o window that allows me to
read/write
>> properly, how can I disable the interrupt?
>
>Well, if your device has its interrupt enabled and
generates an interrupt
>before you get to disable it, you might have a problem.
I think your device
>design needs to be rethought.
>
>Marc Reinig
>System Solutions

Re: Can someone help?! PCMCIA LogConfigOverride by Pavel

Pavel
Tue Nov 25 15:12:02 CST 2003

What means "just doesn't work" ? Do you get error 12 in device manager?

-- PA


"Wei Wei" <anonymous@discussions.microsoft.com> wrote in message
news:0f7f01c3ae42$1db52070$a601280a@phx.gbl...
> No, my device does not generate interrupt at the
> beginning.
>
> Anyway, my problem now is I can't even do simple
> WRITE_PORT_xxx/READ_PORT_XXX and I believe the issue is
> due to the fact that my PCMCIA card requires one
> additional wait state in i/o read/write.
>
> I have no problems in WinCE where I have access in my
> driver to card services and hence I can specify the
> window_use_speed_wait attribute when I request for I/O
> window. But in Win2k, I believe I can only do it through
> logconfig method in inf file. But.. you know, it just
> doesn't work!
>
> >-----Original Message-----
> >
> >"Wei Wei" <anonymous@discussions.microsoft.com> wrote in
> message
> >news:047e01c3ae3a$d1340790$a101280a@phx.gbl...
> >> Hi thanks for the reply. I can only disable the
> interrupt
> >> by writing to a register on my device. The problem is
> if
> >> I could not get an i/o window that allows me to
> read/write
> >> properly, how can I disable the interrupt?
> >
> >Well, if your device has its interrupt enabled and
> generates an interrupt
> >before you get to disable it, you might have a problem.
> I think your device
> >design needs to be rethought.
> >
> >Marc Reinig
> >System Solutions