diff options
author | peter <peter@FreeBSD.org> | 2001-01-29 11:57:27 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2001-01-29 11:57:27 +0000 |
commit | ab46631b96686af7d466445686f52b41f6b32c01 (patch) | |
tree | 25766643a9c13085c3fe6d6da0e5d27d6a092e7f /sys/pc98 | |
parent | 2509160a79caccba59e4647f797d606a2c9d96dc (diff) | |
download | FreeBSD-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/pc98')
-rw-r--r-- | sys/pc98/cbus/clock.c | 6 | ||||
-rw-r--r-- | sys/pc98/cbus/pcrtc.c | 6 | ||||
-rw-r--r-- | sys/pc98/pc98/clock.c | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/sys/pc98/cbus/clock.c b/sys/pc98/cbus/clock.c index 7de923d..08af871 100644 --- a/sys/pc98/cbus/clock.c +++ b/sys/pc98/cbus/clock.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); 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); diff --git a/sys/pc98/pc98/clock.c b/sys/pc98/pc98/clock.c index 7de923d..08af871 100644 --- a/sys/pc98/pc98/clock.c +++ b/sys/pc98/pc98/clock.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); |