summaryrefslogtreecommitdiffstats
path: root/sys/pc98/cbus/pcrtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pc98/cbus/pcrtc.c')
-rw-r--r--sys/pc98/cbus/pcrtc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/pc98/cbus/pcrtc.c b/sys/pc98/cbus/pcrtc.c
index 7de923d..08af871 100644
--- a/sys/pc98/cbus/pcrtc.c
+++ b/sys/pc98/cbus/pcrtc.c
@@ -54,6 +54,7 @@
#include "opt_clock.h"
#include "opt_apm.h"
+#include "opt_mca.h"
#include <sys/param.h>
#include <sys/systm.h>
@@ -100,8 +101,7 @@
#include <i386/isa/intr_machdep.h>
-#include "mca.h"
-#if NMCA > 0
+#ifdef DEV_MCA
#include <i386/isa/mca_machdep.h>
#endif
@@ -288,7 +288,7 @@ clkintr(struct clockframe frame)
}
break;
}
-#if NMCA > 0
+#ifdef DEV_MCA
/* Reset clock interrupt by asserting bit 7 of port 0x61 */
if (MCA_system)
outb(0x61, inb(0x61) | 0x80);
OpenPOWER on IntegriCloud