diff options
author | peter <peter@FreeBSD.org> | 2001-01-29 09:38:39 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2001-01-29 09:38:39 +0000 |
commit | b7edc4f4e3e8a67e435d794319102a67c59af546 (patch) | |
tree | 1281145cc84b32bb59314a3b88e848f48901c103 /sys/i386/isa/nmi.c | |
parent | 2c6ef92d83b54b2a2a2203ee3860bc46a6c56341 (diff) | |
download | FreeBSD-src-b7edc4f4e3e8a67e435d794319102a67c59af546.zip FreeBSD-src-b7edc4f4e3e8a67e435d794319102a67c59af546.tar.gz |
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.
Diffstat (limited to 'sys/i386/isa/nmi.c')
-rw-r--r-- | sys/i386/isa/nmi.c | 7 |
1 files changed, 3 insertions, 4 deletions
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 <sys/param.h> #include <sys/bus.h> @@ -76,7 +75,7 @@ #endif #include <i386/isa/icu.h> -#if NISA > 0 +#ifdef DEV_ISA #include <isa/isavar.h> #endif #include <i386/isa/intr_machdep.h> @@ -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. |