Re: [PATCH] parport_pc.c PnP BIOS sanity check

Russell King
2001-08-08T22:12:48Z

On Wed, Aug 08, 2001 at 02:58:12PM -0700, H. Peter Anvin wrote:
> IRQ 0 is hardwired to the system timer in PC systems, though, so it
^^^^^^^^^^^^^

Linux doesn't run on only PC systems though, and other systems use
IRQ0 as the (superio-based) parallel port IRQ.

> Good riddance, all this crap...

Indeed - please check the ARM port for our solution to this. We've
had the NO_IRQ construct for literally years in include/asm-arm/irq.h:

#define NO_IRQ ((unsigned int)(-1))

Naturally, a similar NO_DMA is defined in dma.h. The sooner we can get
rid of the "IRQ0 cannot be used" crap from the kernel the better.

--
Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux