Re: Level-Triggered Interrupt Advice Seeked.

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 13 Jul 1998 15:55:10 +0100 (BST)


> Well, in either case... I need to do the End of Interrupt after my
> handler sets some bits on the card. Right now this isn't
> happening so I get floods of interrupts over and over. Alan Cox
> sent me mail and said that this problem can be corrected by
> setting some flags in the 2.1.xx kernels. Do you know what I have
> to do in the request_irq() or which flag I have to set?

If you have SA_INTERRUPT set as a flag on request_irq then the irq
is masked, interrupts are disabled and your routine is called, when
your routine returns the irq is acked and interrupts are restored. So
that should cover the case that concerns you if I followed the
description right

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html