Subject: Re: kern/15841: WDC/ATA PCMCIA and CardBus flash disk unhandled interrupt locks kernel
To: David Laight <david@l8s.co.uk>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-bugs
Date: 03/12/2002 08:58:34
On Mon, Mar 11, 2002 at 10:49:02PM +0000, David Laight wrote:
> What is wrong with the 'alternate' status register?
> (returns the same as the status register but without
> clearing the IRQ).

Not all controllers provide it :(

> OTOH is is perfectly possible to write an ATA driver
> that will never unintentionally clear an IRQ.
> 
> Also, the interrupt loop would be caused by FAILING to
> remove an IRQ, not by removing one when it shouldn't be.

Yes, but you can also remove one when you shouldn't, and this can lead to a
lost interrupt.

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--