tech-embed archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

RE: interrupt storm



Thanks for getting back to me.

IRQ 11 is shared with an ethernet device and the wan device.

Registers are checked and if the interrupt is serviced I do
return 1, otherwise 0.  I'm wondering if it's something else
that I may have misconfigured when setting up the interrupt.
It sits behind a pci-pci bridge.

-----Original Message-----
From: Matt Thomas [mailto:matt%3am-software.com@localhost]
Sent: Thursday, March 25, 2004 4:37 PM
To: Bronstein Dan
Cc: tech-embed%NetBSD.org@localhost
Subject: Re: interrupt storm


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@localhost
3am Software Foundry              www: http://3am-software.com/bio/matt/
Cupertino, CA              disclaimer: I avow all knowledge of this message.




Home | Main Index | Thread Index | Old Index