On 9/24/04 11:17 AM, "Michael Cashwell" <email@hidden> wrote:
> On Sep 24, 2004, at 10:32 AM, Ron Duritsch wrote:
>
>> 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.
>
> -Mike
>
Yes, that appears to be it. There is really only 1 interrupt line on the
card. I'll just add code to the original interrupt handler(s) to tell the
difference between a regular board interrupt and a DMA interrupt.
THANKS to all,
Ron
"Everyone's entitled to their own opinion, but not their own facts" dunno
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-drivers/email@hidden
This email sent to email@hidden