summaryrefslogtreecommitdiff
path: root/sys/dev/acpi
diff options
context:
space:
mode:
authorjruoho <jruoho@NetBSD.org>2011-08-06 13:19:46 +0000
committerjruoho <jruoho@NetBSD.org>2011-08-06 13:19:46 +0000
commit856baca048d023a9ebc8981d8173ecfbaae6f2db (patch)
treefbd2023787b01babe81b6692480d25dbc35adf77 /sys/dev/acpi
parent6f96bdabeb3f7a79bf3ff2f3550253c1c36daf04 (diff)
Improve a comment.
Diffstat (limited to 'sys/dev/acpi')
-rw-r--r--sys/dev/acpi/acpi_cpu_cstate.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/sys/dev/acpi/acpi_cpu_cstate.c b/sys/dev/acpi/acpi_cpu_cstate.c
index b86526be5e0..2fa59764361 100644
--- a/sys/dev/acpi/acpi_cpu_cstate.c
+++ b/sys/dev/acpi/acpi_cpu_cstate.c
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_cpu_cstate.c,v 1.56 2011/08/05 02:29:53 mrg Exp $ */
+/* $NetBSD: acpi_cpu_cstate.c,v 1.57 2011/08/06 13:19:46 jruoho Exp $ */
/*-
* Copyright (c) 2010, 2011 Jukka Ruohonen <jruohonen@iki.fi>
@@ -27,7 +27,7 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_cpu_cstate.c,v 1.56 2011/08/05 02:29:53 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_cpu_cstate.c,v 1.57 2011/08/06 13:19:46 jruoho Exp $");
#include <sys/param.h>
#include <sys/cpu.h>
@@ -556,9 +556,13 @@ acpicpu_cstate_fadt(struct acpicpu_softc *sc)
cs[ACPI_STATE_C3].cs_method = 0;
/*
- * Sanity check the latency levels in FADT.
- * Values above the thresholds are used to
- * inform that C-states are not supported.
+ * Sanity check the latency levels in FADT. Values above
+ * the thresholds may be used to inform that C2 and C3 are
+ * not supported -- AMD family 11h is an example;
+ *
+ * Advanced Micro Devices: BIOS and Kernel Developer's
+ * Guide (BKDG) for AMD Family 11h Processors. Section
+ * 2.4.3, Revision 3.00, July, 2008.
*/
CTASSERT(ACPICPU_C_C2_LATENCY_MAX == 100);
CTASSERT(ACPICPU_C_C3_LATENCY_MAX == 1000);