From c733020f4b2c85b3bc99f1394922e69cf73198ef Mon Sep 17 00:00:00 2001 From: thorpej <thorpej@NetBSD.org> Date: Wed, 29 Oct 1997 21:33:16 +0000 Subject: [PATCH] Take IRQ 10 out of the default IRQ allocation mask. That IRQ is reserved for the built-in SCSI on NEC Versa docking stations, and if a card allocates that IRQ, it will never get interrupts. This caused the default kernel to not work on these laptops, as IRQ 10 was often the first free IRQ. --- sys/dev/isa/i82365_isa.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sys/dev/isa/i82365_isa.c b/sys/dev/isa/i82365_isa.c index 9158fc93a065..9040478ca7fb 100644 --- a/sys/dev/isa/i82365_isa.c +++ b/sys/dev/isa/i82365_isa.c @@ -1,4 +1,4 @@ -/* $NetBSD: i82365_isa.c,v 1.4 1997/10/20 18:43:10 thorpej Exp $ */ +/* $NetBSD: i82365_isa.c,v 1.5 1997/10/29 21:33:16 thorpej Exp $ */ #define PCICISADEBUG @@ -308,10 +308,13 @@ pcic_isa_attach(parent, self, aux) * allow patching or kernel option file override of available IRQs. Useful if * order of probing would screw up other devices, or if PCIC hardware/cards * have trouble with certain interrupt lines. + * + * We disable IRQ 10 by default, since some common laptops (namely, the + * NEC Versa series) reserve IRQ 10 for the docking station SCSI interface. */ #ifndef PCIC_INTR_ALLOC_MASK -#define PCIC_INTR_ALLOC_MASK 0xffff +#define PCIC_INTR_ALLOC_MASK 0xfbff #endif int pcic_intr_alloc_mask = PCIC_INTR_ALLOC_MASK;