summaryrefslogtreecommitdiffstats
path: root/sys/isa
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-01-19 14:09:54 +0000
committerpeter <peter@FreeBSD.org>2001-01-19 14:09:54 +0000
commit802c02830905f75c53f335d7938b97d0120f738e (patch)
treefd5bd6b1029f6c6a521208c6e0d55e1705bf2eab /sys/isa
parent91d167d573b821562968d96a4b54bde071974c30 (diff)
downloadFreeBSD-src-802c02830905f75c53f335d7938b97d0120f738e.zip
FreeBSD-src-802c02830905f75c53f335d7938b97d0120f738e.tar.gz
Convert apm from a bogus 'count' into a plain option. Clean out some
other cruft from the files.alpha and files.ia64 that were related to this.
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 aafa821..b34567b 100644
--- a/sys/isa/atrtc.c
+++ b/sys/isa/atrtc.c
@@ -49,7 +49,7 @@
*/
#include "opt_clock.h"
-#include "apm.h"
+#include "opt_apm.h"
#include <sys/param.h>
#include <sys/systm.h>
@@ -796,7 +796,7 @@ startrtclock()
* Curse Intel for leaving the counter out of the I/O APIC.
*/
-#if NAPM > 0
+#ifdef DEV_APM
/*
* We can not use the TSC if we support APM. Precise timekeeping
* on an APM'ed machine is at best a fools pursuit, since
@@ -813,7 +813,7 @@ startrtclock()
if (disabled == 0)
return;
}
-#endif /* NAPM > 0 */
+#endif /* DEV_APM */
if (tsc_present && tsc_freq != 0 && !tsc_is_broken) {
tsc_timecounter.tc_frequency = tsc_freq;
OpenPOWER on IntegriCloud