Greetings,
In a PCMCIA card’s Inf file, is there a way to request an Attribute Memory
window without having to specify the other resources that I normally get?
Here’s the LogConfig section that I currently have in my Inf, but I’m
finding that my interrupt and common memory window aren’t showing up in
the resource list of my StartDevice.
[DriverInstall.AttributeMemoryOverride]
ConfigPriority=NORMAL
MemConfig=xxxxx@0-FFFFFFFF%FFFFF000
PcCardConfig=1:0:(A)
The reason I need to access this memory is that I am looking into making
my Win2k/XP PCMCIA driver play nicely with shared interrupts. In my ISR, I
need to have a foolproof way to determine if my device generated the
interrupt. Unfortunately, it appears that the only way I can be 100% sure
would be to check the Interrupt Request Bit (0x02) in the Configuration
and Status Register, which is in Attribute Memory. Right now, I can make a
pretty solid “guess” based on the contents of some proprietary registers
in common memory, but occasionally if I have two of my devices plugged in,
the computer locks up because the first card in the chain keeps thinking
the interrupt is for it, and the second (who actually generated the
interrupt) never gets its interrupt cleared.
Any hints on the Inf or a better way to handle the shared interrupts?
Thank you,
Curt
Okay, perhaps the lack of a reply means this was a dumb question, and you
have no choice but to specify the other resources. So I’ve plunged ahead
and attempted to add the other resources (IRQ and one common memory
window). Here’s my new LogConfig section:
------------------------------------------------------[DriverInstall.AttributeMemoryOverride]
ConfigPriority=NORMAL
MemConfig=800@0-000007FF,400@0-000003FF
PcCardConfig=1:0:0(AC)
IRQConfig=LS:3,4,5,6,7,8,9,10,11,12,13,14,15
Unfortunately, the common memory window (2nd window in MemConfig) never
shows up in my StartDevice. Also, I now get prompted for a reboot when I
first insert the device, which I never did before.
Any clues on what I’m doing wrong?
Thanks,
Curt
Greetings,
In a PCMCIA card’s Inf file, is there a way to request an Attribute Memory
window without having to specify the other resources that I normally get?
Here’s the LogConfig section that I currently have in my Inf, but I’m
finding that my interrupt and common memory window aren’t showing up in
the resource list of my StartDevice.
[DriverInstall.AttributeMemoryOverride]
ConfigPriority=NORMAL
MemConfig=xxxxx@0-FFFFFFFF%FFFFF000
PcCardConfig=1:0:(A)
The reason I need to access this memory is that I am looking into making
my Win2k/XP PCMCIA driver play nicely with shared interrupts. In my ISR, I
need to have a foolproof way to determine if my device generated the
interrupt. Unfortunately, it appears that the only way I can be 100% sure
would be to check the Interrupt Request Bit (0x02) in the Configuration
and Status Register, which is in Attribute Memory. Right now, I can make a
pretty solid “guess” based on the contents of some proprietary registers
in common memory, but occasionally if I have two of my devices plugged in,
the computer locks up because the first card in the chain keeps thinking
the interrupt is for it, and the second (who actually generated the
interrupt) never gets its interrupt cleared.
Any hints on the Inf or a better way to handle the shared interrupts?
Thank you,
Curt