IRQ Sharing with PCI Device
- From: "bbartson" <bbartson@xxxxxxxxxxxx>
- Date: 18 Oct 2006 05:23:17 -0700
Hello,
I've inherited a windows driver that was designed for the NT4 style
architecture (non-PNP and non-WDM). Our company manufactures VMEbus cpu
boards. This driver is for interfacing to the vmebus (via a pci-to-vme
bridge device, the Tundra chip, which is a single function device).
This driver works just fine on our older (2000 design) cpu boards which
are using the same chip but a Phoenix bios.
We've designed a new cpu, using the same chip but with a new bios (from
General Software). The bios is ACPI compliant but currently it is only
running in PIC mode (not APIC). My problem is this old NT4 style driver
fails when it tries to allocate interrupts. It can get access to IO
ports and PCI memory via the Tundra OK. The interrupt allocation fails
with STATUS_CONFLICTING_ADDRESSES. This error code comes from
IoAssignResources.
The bios's pci enumeration allocates int 11 to the Tundra device. This
gets stored in the pci config space for the Tundra device and this is
what the driver attempts to use too. If I look at device manager I can
see that ints 9,10 & 11 are shared between about 10 different devices
(the Tundra shows up as a 'pci bridge device'). Mostly 6300 south
bridge devices are on these ints.
I have tried many different things to work around this. I have tried
turning off PlugNPlay, tried masking certain INTs in the bios, mods to
the driver code to use other api calls such as IoReportDetectedDevice,
etc. Currently APIC mode is not turned ON in the bios because according
to the bios vendor it is not fully debugged yet and they are working on
fixing it. However, they don't think this will resolve the issue
because the Tundra is wired on the board to use INT#A and this is
shared with other devices.
So my question is do you think that APIC mode would resolve this and if
not is there some other approach the driver code could take, OR is this
more likely a fundamental hardware issue with how the interrupts are
routed on the board.
Thanks,
.
- Follow-Ups:
- Re: IRQ Sharing with PCI Device
- From: already5chosen
- Re: IRQ Sharing with PCI Device
- Prev by Date: NDIS 6 state machine
- Next by Date: Re: Network Provider NPLogonNotify script
- Previous by thread: NDIS 6 state machine
- Next by thread: Re: IRQ Sharing with PCI Device
- Index(es):
Relevant Pages
|
|