summaryrefslogtreecommitdiffstats
path: root/sys/x86
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2013-02-21 06:38:24 +0000
committerimp <imp@FreeBSD.org>2013-02-21 06:38:24 +0000
commite7a3528a802a6e703e526cd7fc6f3a75b8107fa1 (patch)
tree50096494ea20d1781c60b7b7eb280e51c9c2dff2 /sys/x86
parent0f283d69d75a525f78159b74faa0ef76c181c8fd (diff)
downloadFreeBSD-src-e7a3528a802a6e703e526cd7fc6f3a75b8107fa1.zip
FreeBSD-src-e7a3528a802a6e703e526cd7fc6f3a75b8107fa1.tar.gz
Correct comment about use of pmtimer, and the real reason it isn't
used or desirable for amd64.
Diffstat (limited to 'sys/x86')
-rw-r--r--sys/x86/isa/clock.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/x86/isa/clock.c b/sys/x86/isa/clock.c
index 6c69759..232c913 100644
--- a/sys/x86/isa/clock.c
+++ b/sys/x86/isa/clock.c
@@ -478,9 +478,10 @@ i8254_restore(void)
*
* This function is called from pmtimer_resume() to restore all the timers.
* This should not be necessary, but there are broken laptops that do not
- * restore all the timers on resume.
- * As long as pmtimer is not part of amd64 suport, skip this for the amd64
- * case.
+ * restore all the timers on resume. The APM spec was at best vague on the
+ * subject.
+ * pmtimer is used only with the old APM power management, and not with
+ * acpi, which is required for amd64, so skip it in that case.
*/
void
timer_restore(void)
OpenPOWER on IntegriCloud