Subject: Re: AS1200 stray IRQ messages
To: None <port-alpha@NetBSD.org>
From: Michael L. Hitch <firstname.lastname@example.org>
Date: 06/17/2004 16:16:28
On Thu, 17 Jun 2004, Aaron J. Grier wrote:
> if the kernel is receiving the interrupts, why aren't they being
> delivered to the appropriate handler? if the kernel can see them,
> surely a device driver can too?
The kernel does pass them to any handlers that have established their
interrupts, but if no handler recognizes the interrupt as belonging to
that handler, it will be counted as a stay.
For example, a quick look at the lpt driver shows that if it receives
an interrupt, it may return a 0, which to the alpha takes as an indication
that the interrupt didn't belong to that handler.
> Aaron J. Grier | "Not your ordinary poofy goof." | email@example.com
> "someday the industry will have throbbing frontal lobes and will be able
> to write provably correct software. also, I want a pony." -- Zach Brown
Michael L. Hitch firstname.lastname@example.org
Information Technology Center
Montana State University Bozeman, MT USA