I am modifying a PCI driver by adding another secondary interrupt to
handle DMA interrupts. I found a perfect (I thought) sample in
Developer Connection that does just this, so I followed it to the
letter. But whenever I create the second IOFilterInterruptEventSource,
with an index of 1 (the first used an index of 0), it fails. I
switched the two around so index 0 became index 1, to test if my new
code was the problem, but always the second index fails.
This is a guess but are you certain that the PCI declaration ROM
specifies that the board actually has multiple interrupts? My card
reports only 1 interrupt source in IORegistryExplorer. I don't know the
cause and effect here as I only try to register one source but it's an
idea.