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

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> my questions is, how does one chain one's interupt handler together
> with all the other exisiting interupt handler routines?
> 
> i.e.
> 
> 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.

John
-- 
John Hay -- John.Hay@mikom.csir.co.za

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?199811031228.OAA20788>