Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Feb 2010 14:35:33 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r203430 - head/sys/dev/acpica
Message-ID:  <201002031435.o13EZXmO021569@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avg
Date: Wed Feb  3 14:35:33 2010
New Revision: 203430
URL: http://svn.freebsd.org/changeset/base/203430

Log:
  acpi_cpu: correct capabilities arguments for Processor _OSC evaluation
  
  Populate capabilities buffer according to
  Intel Processor Vendor-Specific ACPI Interface Specification.
  
  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	Wed Feb  3 13:03:47 2010	(r203429)
+++ head/sys/dev/acpica/acpi_cpu.c	Wed Feb  3 14:35:33 2010	(r203430)
@@ -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);
     }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002031435.o13EZXmO021569>