diff options
| author | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2002-01-31 04:28:52 +0000 |
|---|---|---|
| committer | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2002-01-31 04:28:52 +0000 |
| commit | cad5db64167fc5f64c8a2463de5b0c7a5bb472cd (patch) | |
| tree | ed96857777f5adbed67b0bf3d7e7d58995c23640 /sys | |
| parent | ae610d1fc6a3854d1b9747a4f1e3722335749823 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/pc98/cbus/clock.c | 5 | ||||
| -rw-r--r-- | sys/pc98/cbus/pcrtc.c | 5 | ||||
| -rw-r--r-- | sys/pc98/pc98/clock.c | 5 |
3 files changed, 15 insertions, 0 deletions
diff --git a/sys/pc98/cbus/clock.c b/sys/pc98/cbus/clock.c index 38bc8d5114495..2834dca799ef2 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 38bc8d5114495..2834dca799ef2 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 38bc8d5114495..2834dca799ef2 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 */ |
