Subject: Re: interrupt storm
To: Bronstein Dan <D.Bronstein@flarion.com>
From: Matt Thomas <matt@3am-software.com>
List: tech-embed
Date: 03/25/2004 13:37:22
At 04:35 PM 3/24/2004, Bronstein Dan wrote:
>I've ported a FreeBSD based wan driver for the SBS-WANic 520
>PCI Card to NetBSD.  The driver loads fine and initializes,
>but once I enable one of the T1 ports, I'm flooded with pci
>interrupt 11's that apparently are not coming from the Wan
>card.  Int11 is shared with an Intel i82546EB.  Anyone else
>have a similar experience or have any suggestions on what
>might be going on.

If you are on a shared interrupt, you will get interrupts
that are not caused by your define.  You have to deal with
that.  In your interrupt routine query the device to see if
the interrupt is yours.  If so, process it and return 1.
If not, return 0.


-- 
Matt Thomas                     email: matt@3am-software.com
3am Software Foundry              www: http://3am-software.com/bio/matt/
Cupertino, CA              disclaimer: I avow all knowledge of this message.