summaryrefslogtreecommitdiffstats
path: root/sys/isa
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-01-29 11:57:27 +0000
committerpeter <peter@FreeBSD.org>2001-01-29 11:57:27 +0000
commitab46631b96686af7d466445686f52b41f6b32c01 (patch)
tree25766643a9c13085c3fe6d6da0e5d27d6a092e7f /sys/isa
parent2509160a79caccba59e4647f797d606a2c9d96dc (diff)
downloadFreeBSD-src-ab46631b96686af7d466445686f52b41f6b32c01.zip
FreeBSD-src-ab46631b96686af7d466445686f52b41f6b32c01.tar.gz
Convert mca (microchannel bus support) from something that we count
(bogus) to something that we test for the presence of.
Diffstat (limited to 'sys/isa')
-rw-r--r--sys/isa/atrtc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/isa/atrtc.c b/sys/isa/atrtc.c
index 14bcd93..d7a1ff0 100644
--- a/sys/isa/atrtc.c
+++ b/sys/isa/atrtc.c
@@ -50,6 +50,7 @@
#include "opt_clock.h"
#include "opt_apm.h"
+#include "opt_mca.h"
#include <sys/param.h>
#include <sys/systm.h>
@@ -90,8 +91,7 @@
#include <i386/isa/intr_machdep.h>
-#include "mca.h"
-#if NMCA > 0
+#ifdef DEV_MCA
#include <i386/isa/mca_machdep.h>
#endif
@@ -263,7 +263,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