Module Name: src
Committed By: jruoho
Date: Sat Aug 6 13:19:46 UTC 2011
Modified Files:
src/sys/dev/acpi: acpi_cpu_cstate.c
Log Message:
Improve a comment.
To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/sys/dev/acpi/acpi_cpu_cstate.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/acpi/acpi_cpu_cstate.c
diff -u src/sys/dev/acpi/acpi_cpu_cstate.c:1.56 src/sys/dev/acpi/acpi_cpu_cstate.c:1.57
--- src/sys/dev/acpi/acpi_cpu_cstate.c:1.56 Fri Aug 5 02:29:53 2011
+++ src/sys/dev/acpi/acpi_cpu_cstate.c Sat Aug 6 13:19:46 2011
@@ -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 <[email protected]>
@@ -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 @@
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);