Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Nov 1998 21:16:31 -0800
From:      Mike Smith <mike@smith.net.au>
To:        "Daniel O'Connor" <doconnor@gsoft.com.au>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: PCI interrupts 
Message-ID:  <199811120516.VAA07759@dingo.cdrom.com>
In-Reply-To: Your message of "Thu, 12 Nov 1998 15:00:09 %2B1030." <XFMail.981112150009.doconnor@gsoft.com.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> I am wondering if anyone could tell me how FreeBSD would handle having
> the PCI interrupt line continually asserted after calling the interrupt
> handler for the device in question. ie would the interrupt routine keep
> getting called? or would it only get called once?

If the system is expecting a level-triggered interrupt, that is
*extremely* bad.  The interrupt handler will spin forever.  The same 
goes for any other operating system.  Your interrupt handler *must* 
clear the interrupt source before returning.

[off topic]
> Any help gratefully received.. I could probably send you some real Australian
> beer if you want =)

Just make sure there's some cold there in the 'fridge.  I get back 
around the 30th or so of this month, and I've a week to kill in 
Adelaide.  8)

Anything you think might go down well as tokens from afar?

-- 
\\  Sometimes you're ahead,       \\  Mike Smith
\\  sometimes you're behind.      \\  mike@smith.net.au
\\  The race is long, and in the  \\  msmith@freebsd.org
\\  end it's only with yourself.  \\  msmith@cdrom.com



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?199811120516.VAA07759>