Q:Shared IRQ

From: David Stroupe (dstroupe@keyed-upsoftware.com)
Date: Mon Mar 04 2002 - 18:48:16 EST


I have written a driver for a pci board that uses interrupts. I install
the shared handler with a unique dev_id, or at least it should be unique
as it is the address of my driver's internal data struct for that card.
 I get not only my interrupts, but also the interrupts of the shared
device, namely the network card. Is this what I should expect? If I
get a notification for the network card, why is the dev_id the same as
what I passed? If I didn't have an interrupt pending bit on my
hardware, how would I distinguish between the interrupts?

TIA

-- 
Best regards,
David Stroupe
Keyed-Up Software 

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 07 2002 - 21:00:36 EST