summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2004-02-28 22:43:18 +0000
committernjl <njl@FreeBSD.org>2004-02-28 22:43:18 +0000
commit82f38cdbc57fb2ed08756cc0227224673b5b155d (patch)
tree2a8d40f4e3731359f5303bd2dfd10f13802811ad
parent2134d93636436ecca259f9e4fc6770252923f49e (diff)
downloadFreeBSD-src-82f38cdbc57fb2ed08756cc0227224673b5b155d.zip
FreeBSD-src-82f38cdbc57fb2ed08756cc0227224673b5b155d.tar.gz
Call _INI on Thermal Zones as well as devices.
-rw-r--r--sys/dev/acpica/acpi_thermal.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/acpica/acpi_thermal.c b/sys/dev/acpica/acpi_thermal.c
index 03d50ce..60bc4f5 100644
--- a/sys/dev/acpica/acpi_thermal.c
+++ b/sys/dev/acpica/acpi_thermal.c
@@ -201,6 +201,12 @@ acpi_tz_attach(device_t dev)
goto out;
/*
+ * XXX Call _INI if it exists. ACPICA should do this but only handles
+ * Device objects for now.
+ */
+ AcpiEvaluateObject(sc->tz_handle, "_INI", NULL, NULL);
+
+ /*
* Register for any Notify events sent to this zone.
*/
AcpiInstallNotifyHandler(sc->tz_handle, ACPI_DEVICE_NOTIFY,
OpenPOWER on IntegriCloud