summaryrefslogtreecommitdiffstats
path: root/sys/pc98
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-01-29 09:38:39 +0000
committerpeter <peter@FreeBSD.org>2001-01-29 09:38:39 +0000
commitb7edc4f4e3e8a67e435d794319102a67c59af546 (patch)
tree1281145cc84b32bb59314a3b88e848f48901c103 /sys/pc98
parent2c6ef92d83b54b2a2a2203ee3860bc46a6c56341 (diff)
downloadFreeBSD-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/pc98')
-rw-r--r--sys/pc98/i386/machdep.c4
-rw-r--r--sys/pc98/pc98/machdep.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c
index be66264..a1688eb 100644
--- a/sys/pc98/i386/machdep.c
+++ b/sys/pc98/i386/machdep.c
@@ -44,6 +44,7 @@
#include "opt_ddb.h"
#include "opt_inet.h"
#include "opt_ipx.h"
+#include "opt_isa.h"
#include "opt_maxmem.h"
#include "opt_msgbuf.h"
#include "opt_npx.h"
@@ -2288,8 +2289,7 @@ init386(first)
*/
cninit();
-#include "isa.h"
-#if NISA >0
+#ifdef DEV_ISA
isa_defaultirq();
#endif
diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c
index be66264..a1688eb 100644
--- a/sys/pc98/pc98/machdep.c
+++ b/sys/pc98/pc98/machdep.c
@@ -44,6 +44,7 @@
#include "opt_ddb.h"
#include "opt_inet.h"
#include "opt_ipx.h"
+#include "opt_isa.h"
#include "opt_maxmem.h"
#include "opt_msgbuf.h"
#include "opt_npx.h"
@@ -2288,8 +2289,7 @@ init386(first)
*/
cninit();
-#include "isa.h"
-#if NISA >0
+#ifdef DEV_ISA
isa_defaultirq();
#endif
OpenPOWER on IntegriCloud