svn commit: r238229 - head/sys/dev/acpica

Andriy Gapon avg at FreeBSD.org
Sun Jul 8 10:57:50 UTC 2012


Author: avg
Date: Sun Jul  8 10:57:49 2012
New Revision: 238229
URL: http://svn.freebsd.org/changeset/base/238229

Log:
  acpi_cpu: we are able to handle _CST change notifications...
  
  so un-ifdef code that is supposed to tell ACPI platform about that
  
  Tested by:	Taku YAMAMOTO <taku at tackymt.homeip.net>
  MFC after:	2 weeks

Modified:
  head/sys/dev/acpica/acpi_cpu.c

Modified: head/sys/dev/acpica/acpi_cpu.c
==============================================================================
--- head/sys/dev/acpica/acpi_cpu.c	Sun Jul  8 10:46:55 2012	(r238228)
+++ head/sys/dev/acpica/acpi_cpu.c	Sun Jul  8 10:57:49 2012	(r238229)
@@ -918,14 +918,12 @@ acpi_cpu_startup_cx(struct acpi_cpu_soft
 		    (void *)sc, 0, acpi_cpu_usage_sysctl, "A",
 		    "percent usage for each Cx state");
 
-#ifdef notyet
     /* Signal platform that we can handle _CST notification. */
     if (!cpu_cx_generic && cpu_cst_cnt != 0) {
 	ACPI_LOCK(acpi);
 	AcpiOsWritePort(cpu_smi_cmd, cpu_cst_cnt, 8);
 	ACPI_UNLOCK(acpi);
     }
-#endif
 }
 
 /*


More information about the svn-src-head mailing list