Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Nov 1998 14:21:57 +0100 (CET)
From:      Etienne de Bruin <Etienne.Debruin@KryptoKom.DE>
To:        jhay@mikom.csir.co.za (John Hay)
Cc:        freebsd-hackers@FreeBSD.ORG (Hackers FreeBSD)
Subject:   Re: chaining interrupt handler
Message-ID:  <199811031321.OAA01476@borg.kryptokom.de>
In-Reply-To: <199811031228.OAA20788@zibbi.mikom.csir.co.za> from John Hay at "Nov 3, 1998  2:28:57 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> > void fc_pci_intr()
> > {
> >   if certain flags set {
> >     handle interupt
> >   }
> >   else {
> >     chain interrupt
> >   }
> > }
> 
> You shouldn't need the else part. The generic pci handler should do that
> for you. That way you don't even have to know which device is sharing
> the interrupt with you.

the reason i ask because the following happens:

on a system with one pci network card and my pci device, my device driver's
interrupt handler gets called without anyproblems when i issue an interrupt.

but on a system with two pci network cards, it seems like my interrupt
handler never gets called when i issue my interrupt... any idea as to why
this happens?

eT
-- 
Etienne de Bruin, KryptoKom(R), Germany, http://www.kryptokom.de/
eT@kryptokom.de or edebruin@iname.com +49 241 963 2635(w)
"the promise of love is hard to ignore" - crowded house, private universe.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811031321.OAA01476>