Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/acpi Remove bogus check and allow all CPUs to use I/...



details:   https://anonhg.NetBSD.org/src/rev/eec0f375b5c4
branches:  trunk
changeset: 756955:eec0f375b5c4
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Sun Aug 08 17:05:50 2010 +0000

description:
Remove bogus check and allow all CPUs to use I/O-based P-states.

diffstat:

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

diffs (31 lines):

diff -r 2f2b66ba6a0f -r eec0f375b5c4 sys/dev/acpi/acpi_cpu_pstate.c
--- a/sys/dev/acpi/acpi_cpu_pstate.c    Sun Aug 08 16:58:41 2010 +0000
+++ b/sys/dev/acpi/acpi_cpu_pstate.c    Sun Aug 08 17:05:50 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_cpu_pstate.c,v 1.1 2010/08/08 16:58:42 jruoho Exp $ */
+/* $NetBSD: acpi_cpu_pstate.c,v 1.2 2010/08/08 17:05:50 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.1 2010/08/08 16:58:42 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_cpu_pstate.c,v 1.2 2010/08/08 17:05:50 jruoho Exp $");
 
 #include <sys/param.h>
 #include <sys/kmem.h>
@@ -55,12 +55,6 @@
        struct acpicpu_softc *sc = device_private(self);
        ACPI_STATUS rv;
 
-       /*
-        * XXX: Only Intel is currently supported.
-        */
-       if (sc->sc_cap == 0)
-               return;
-
        rv = acpicpu_pstate_pss(sc);
 
        if (ACPI_FAILURE(rv))



Home | Main Index | Thread Index | Old Index