svn commit: r204484 - stable/7/sys/dev/acpica

Andriy Gapon avg at FreeBSD.org
Sun Feb 28 21:32:10 UTC 2010


Author: avg
Date: Sun Feb 28 21:32:10 2010
New Revision: 204484
URL: http://svn.freebsd.org/changeset/base/204484

Log:
  MFC r203430: acpi_cpu: correct capabilities arguments for Processor _OSC

Modified:
  stable/7/sys/dev/acpica/acpi_cpu.c
Directory Properties:
  stable/7/sys/   (props changed)
  stable/7/sys/cddl/contrib/opensolaris/   (props changed)
  stable/7/sys/contrib/dev/acpica/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)

Modified: stable/7/sys/dev/acpica/acpi_cpu.c
==============================================================================
--- stable/7/sys/dev/acpica/acpi_cpu.c	Sun Feb 28 21:30:46 2010	(r204483)
+++ stable/7/sys/dev/acpica/acpi_cpu.c	Sun Feb 28 21:32:10 2010	(r204484)
@@ -375,7 +375,8 @@ acpi_cpu_attach(device_t dev)
 	arg[3].Type = ACPI_TYPE_BUFFER;
 	arg[3].Buffer.Length = sizeof(cap_set);	/* Capabilities buffer */
 	arg[3].Buffer.Pointer = (uint8_t *)cap_set;
-	cap_set[0] = 0;
+	cap_set[0] = 0;				/* status */
+	cap_set[1] = sc->cpu_features;
 	AcpiEvaluateObject(sc->cpu_handle, "_OSC", &arglist, NULL);
     }
 


More information about the svn-src-stable mailing list