Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding a second PCI interrupt handler



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

_______________________________________________
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
References: 
 >Adding a second PCI interrupt handler (From: Ron Duritsch <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.