svn commit: r204483 - stable/8/sys/dev/acpica
Andriy Gapon
avg at FreeBSD.org
Sun Feb 28 21:30:46 UTC 2010
Author: avg
Date: Sun Feb 28 21:30:46 2010
New Revision: 204483
URL: http://svn.freebsd.org/changeset/base/204483
Log:
MFC r203430: acpi_cpu: correct capabilities arguments for Processor _OSC
Modified:
stable/8/sys/dev/acpica/acpi_cpu.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
stable/8/sys/dev/xen/xenpci/ (props changed)
stable/8/sys/netinet/ (props changed)
Modified: stable/8/sys/dev/acpica/acpi_cpu.c
==============================================================================
--- stable/8/sys/dev/acpica/acpi_cpu.c Sun Feb 28 21:28:24 2010 (r204482)
+++ stable/8/sys/dev/acpica/acpi_cpu.c Sun Feb 28 21:30:46 2010 (r204483)
@@ -378,7 +378,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-all
mailing list