From b7edc4f4e3e8a67e435d794319102a67c59af546 Mon Sep 17 00:00:00 2001 From: peter Date: Mon, 29 Jan 2001 09:38:39 +0000 Subject: Send "#if NISA > 0" to the bit-bucket and replace it with an option. These were compile-time "is the isa code present?" tests and not 'how many isa busses' tests. --- sys/i386/isa/nmi.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'sys/i386/isa/nmi.c') diff --git a/sys/i386/isa/nmi.c b/sys/i386/isa/nmi.c index 2649022..7a10912 100644 --- a/sys/i386/isa/nmi.c +++ b/sys/i386/isa/nmi.c @@ -38,8 +38,7 @@ */ #include "opt_auto_eoi.h" - -#include "isa.h" +#include "opt_isa.h" #include #include @@ -76,7 +75,7 @@ #endif #include -#if NISA > 0 +#ifdef DEV_ISA #include #endif #include @@ -367,7 +366,7 @@ isa_strayintr(vcookiep) "too many stray irq %d's; not logging any more\n", intr); } -#if NISA > 0 +#ifdef DEV_ISA /* * Return a bitmap of the current interrupt requests. This is 8259-specific * and is only suitable for use at probe time. -- cgit v1.1