Module Name:    src
Committed By:   jruoho
Date:           Sat Aug 21 07:18:34 UTC 2010

Modified Files:
        src/sys/arch/x86/acpi: acpi_cpu_md.c

Log Message:
Add a comment.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/x86/acpi/acpi_cpu_md.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/arch/x86/acpi/acpi_cpu_md.c
diff -u src/sys/arch/x86/acpi/acpi_cpu_md.c:1.25 src/sys/arch/x86/acpi/acpi_cpu_md.c:1.26
--- src/sys/arch/x86/acpi/acpi_cpu_md.c:1.25	Sat Aug 21 06:45:50 2010
+++ src/sys/arch/x86/acpi/acpi_cpu_md.c	Sat Aug 21 07:18:34 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_cpu_md.c,v 1.25 2010/08/21 06:45:50 jruoho Exp $ */
+/* $NetBSD: acpi_cpu_md.c,v 1.26 2010/08/21 07:18:34 jruoho Exp $ */
 
 /*-
  * Copyright (c) 2010 Jukka Ruohonen <jruoho...@iki.fi>
@@ -27,7 +27,7 @@
  * SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_cpu_md.c,v 1.25 2010/08/21 06:45:50 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_cpu_md.c,v 1.26 2010/08/21 07:18:34 jruoho Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -400,6 +400,12 @@
 		return ENODEV;
 	}
 
+	/*
+	 * Fill the P-state structures with MSR addresses that are
+	 * known to be correct. But only do this when the values
+	 * reported by BIOS are absent. If a vendor uses XPSS, we
+	 * do not necessary need to do anything to support new CPUs.
+	 */
 	while (i < sc->sc_pstate_count) {
 
 		ps = &sc->sc_pstate[i];

Reply via email to