Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Feb 2010 21:30:46 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r204483 - stable/8/sys/dev/acpica
Message-ID:  <201002282130.o1SLUktG098061@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
     }
 



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