Re: IRQs

David A Rusling (rusling@linux.reo.dec.com)
Tue, 04 Mar 1997 09:35:45 +0000


Yes, you can selectively disable interrupts but you should use the
kernel primatives (enable_irq(), disable_irq()) which mess around with
the PICs for you. I don't know about any other architectures, just
ARM and Alpha, but the interrupt controllers vary from the Intel PC norm
and so playing with the PICs yourself would break portable drivers.

If you are waiting then you could disable the interrupt during the
wait. However, the disable just disables the delivery of the interrupt
to the CPU, what is to stop the device interrupting and clearing its
status register?

Dave

----------------------------------------------------------------------
David A Rusling Principal Engineer
European Semiconductor Applications Digital Equipment Co Ltd.,
Engineering PO Box 121,
Imperial Way,
Worton Grange
Reading RG2 0TU
Linux, Alpha, StrongArm, PCI Tel: UK-(0)1734-204380
Fax: UK-(0)1734-203133
----------------------------------------------------------------------