Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/acpi Fix comments.



details:   https://anonhg.NetBSD.org/src/rev/7e73975fa15d
branches:  trunk
changeset: 757158:7e73975fa15d
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Mon Aug 16 20:20:44 2010 +0000

description:
Fix comments.

diffstat:

 sys/dev/acpi/acpi_cpu_pstate.c |  12 ++++--------
 1 files changed, 4 insertions(+), 8 deletions(-)

diffs (40 lines):

diff -r a9f0cd526447 -r 7e73975fa15d sys/dev/acpi/acpi_cpu_pstate.c
--- a/sys/dev/acpi/acpi_cpu_pstate.c    Mon Aug 16 20:07:57 2010 +0000
+++ b/sys/dev/acpi/acpi_cpu_pstate.c    Mon Aug 16 20:20:44 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_cpu_pstate.c,v 1.25 2010/08/16 20:07:57 jruoho Exp $ */
+/* $NetBSD: acpi_cpu_pstate.c,v 1.26 2010/08/16 20:20:44 jruoho Exp $ */
 
 /*-
  * Copyright (c) 2010 Jukka Ruohonen <jruohonen%iki.fi@localhost>
@@ -27,7 +27,7 @@
  * SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_cpu_pstate.c,v 1.25 2010/08/16 20:07:57 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_cpu_pstate.c,v 1.26 2010/08/16 20:20:44 jruoho Exp $");
 
 #include <sys/param.h>
 #include <sys/evcnt.h>
@@ -670,10 +670,6 @@
 
                case ACPI_ADR_SPACE_FIXED_HARDWARE:
 
-                       /*
-                        * With XPSS the _PCT registers incorporate
-                        * the addresses of the appropriate MSRs.
-                        */
                        if ((sc->sc_flags & ACPICPU_FLAG_P_XPSS) != 0) {
 
                                if (reg[i]->reg_bitwidth != 64) {
@@ -715,8 +711,8 @@
 
        /*
         * In XPSS the control address can not be zero,
-        * but the status address may be. Comparable to
-        * T-states, in this we can ignore the status
+        * but the status address may be. In this case,
+        * comparable to T-states, we can ignore the status
         * check during the P-state (FFH) transition.
         */
        if (sc->sc_pstate_control.reg_addr == 0) {



Home | Main Index | Thread Index | Old Index