Re: Level-Triggered Interrupt Advice Seeked.

Richard B. Johnson (root@chaos.analogic.com)
Mon, 13 Jul 1998 10:54:06 -0400 (EDT)


On Mon, 13 Jul 1998, Alan Cox wrote:

> > 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
>
Yes. Thanks for the specific info.

Cheers,
Dick Johnson
***** FILE SYSTEM MODIFIED *****
Penguin : Linux version 2.1.108 on an i586 machine (66.15 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.

-
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