Subject: Re: kern/15841: WDC/ATA PCMCIA and CardBus flash disk unhandled interrupt locks kernel
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: David Laight <david@l8s.co.uk>
List: netbsd-bugs
Date: 03/12/2002 10:04:12
On Tue, Mar 12, 2002 at 08:58:34AM +0100, Manuel Bouyer wrote:
> 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 :(

Is this one of the things that separate an ATA disk from a wd one?
> 
> > 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.

But that isn't what the problem was!


	David

-- 
David Laight: david@l8s.co.uk