svn commit: r247086 - head/sys/x86/isa

Warner Losh imp at FreeBSD.org
Thu Feb 21 06:38:24 UTC 2013


Author: imp
Date: Thu Feb 21 06:38:24 2013
New Revision: 247086
URL: http://svnweb.freebsd.org/changeset/base/247086

Log:
  Correct comment about use of pmtimer, and the real reason it isn't
  used or desirable for amd64.

Modified:
  head/sys/x86/isa/clock.c

Modified: head/sys/x86/isa/clock.c
==============================================================================
--- head/sys/x86/isa/clock.c	Thu Feb 21 06:18:40 2013	(r247085)
+++ head/sys/x86/isa/clock.c	Thu Feb 21 06:38:24 2013	(r247086)
@@ -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)


More information about the svn-src-all mailing list