summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2002-01-31 04:28:52 +0000
committernyan <nyan@FreeBSD.org>2002-01-31 04:28:52 +0000
commit95cff18f04cb6590bc4964ddc2d172d1c5e7d944 (patch)
treeed96857777f5adbed67b0bf3d7e7d58995c23640 /sys
parent9e96f2c1278b382b8ed7a64b0cc7aa00cf822428 (diff)
downloadFreeBSD-src-95cff18f04cb6590bc4964ddc2d172d1c5e7d944.zip
FreeBSD-src-95cff18f04cb6590bc4964ddc2d172d1c5e7d944.tar.gz
MFi386: revision 1.180
Diffstat (limited to 'sys')
-rw-r--r--sys/pc98/cbus/clock.c5
-rw-r--r--sys/pc98/cbus/pcrtc.c5
-rw-r--r--sys/pc98/pc98/clock.c5
3 files changed, 15 insertions, 0 deletions
diff --git a/sys/pc98/cbus/clock.c b/sys/pc98/cbus/clock.c
index 38bc8d5..2834dca 100644
--- a/sys/pc98/cbus/clock.c
+++ b/sys/pc98/cbus/clock.c
@@ -53,6 +53,7 @@
*/
#include "opt_clock.h"
+#include "opt_isa.h"
#include "opt_mca.h"
#include <sys/param.h>
@@ -93,7 +94,9 @@
#include <i386/isa/isa.h>
#include <isa/rtc.h>
#endif
+#ifdef DEV_ISA
#include <isa/isavar.h>
+#endif
#include <i386/isa/timerreg.h>
#include <i386/isa/intr_machdep.h>
@@ -1611,6 +1614,7 @@ tsc_get_timecount(struct timecounter *tc)
return (rdtsc());
}
+#ifdef DEV_ISA
/*
* Attach to the ISA PnP descriptors for the timer and realtime clock.
*/
@@ -1659,3 +1663,4 @@ DRIVER_MODULE(attimer, isa, attimer_driver, attimer_devclass, 0, 0);
#ifndef PC98
DRIVER_MODULE(attimer, acpi, attimer_driver, attimer_devclass, 0, 0);
#endif
+#endif /* DEV_ISA */
diff --git a/sys/pc98/cbus/pcrtc.c b/sys/pc98/cbus/pcrtc.c
index 38bc8d5..2834dca 100644
--- a/sys/pc98/cbus/pcrtc.c
+++ b/sys/pc98/cbus/pcrtc.c
@@ -53,6 +53,7 @@
*/
#include "opt_clock.h"
+#include "opt_isa.h"
#include "opt_mca.h"
#include <sys/param.h>
@@ -93,7 +94,9 @@
#include <i386/isa/isa.h>
#include <isa/rtc.h>
#endif
+#ifdef DEV_ISA
#include <isa/isavar.h>
+#endif
#include <i386/isa/timerreg.h>
#include <i386/isa/intr_machdep.h>
@@ -1611,6 +1614,7 @@ tsc_get_timecount(struct timecounter *tc)
return (rdtsc());
}
+#ifdef DEV_ISA
/*
* Attach to the ISA PnP descriptors for the timer and realtime clock.
*/
@@ -1659,3 +1663,4 @@ DRIVER_MODULE(attimer, isa, attimer_driver, attimer_devclass, 0, 0);
#ifndef PC98
DRIVER_MODULE(attimer, acpi, attimer_driver, attimer_devclass, 0, 0);
#endif
+#endif /* DEV_ISA */
diff --git a/sys/pc98/pc98/clock.c b/sys/pc98/pc98/clock.c
index 38bc8d5..2834dca 100644
--- a/sys/pc98/pc98/clock.c
+++ b/sys/pc98/pc98/clock.c
@@ -53,6 +53,7 @@
*/
#include "opt_clock.h"
+#include "opt_isa.h"
#include "opt_mca.h"
#include <sys/param.h>
@@ -93,7 +94,9 @@
#include <i386/isa/isa.h>
#include <isa/rtc.h>
#endif
+#ifdef DEV_ISA
#include <isa/isavar.h>
+#endif
#include <i386/isa/timerreg.h>
#include <i386/isa/intr_machdep.h>
@@ -1611,6 +1614,7 @@ tsc_get_timecount(struct timecounter *tc)
return (rdtsc());
}
+#ifdef DEV_ISA
/*
* Attach to the ISA PnP descriptors for the timer and realtime clock.
*/
@@ -1659,3 +1663,4 @@ DRIVER_MODULE(attimer, isa, attimer_driver, attimer_devclass, 0, 0);
#ifndef PC98
DRIVER_MODULE(attimer, acpi, attimer_driver, attimer_devclass, 0, 0);
#endif
+#endif /* DEV_ISA */
OpenPOWER on IntegriCloud