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

Russell King (rmk@arm.linux.org.uk)
Wed, 8 Aug 2001 23:12:42 +0100


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
             http://www.arm.linux.org.uk/personal/aboutme.html

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/