diff options
author | njl <njl@FreeBSD.org> | 2004-02-28 22:43:18 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2004-02-28 22:43:18 +0000 |
commit | 82f38cdbc57fb2ed08756cc0227224673b5b155d (patch) | |
tree | 2a8d40f4e3731359f5303bd2dfd10f13802811ad /sys/dev/acpica/acpi_thermal.c | |
parent | 2134d93636436ecca259f9e4fc6770252923f49e (diff) | |
download | FreeBSD-src-82f38cdbc57fb2ed08756cc0227224673b5b155d.zip FreeBSD-src-82f38cdbc57fb2ed08756cc0227224673b5b155d.tar.gz |
Call _INI on Thermal Zones as well as devices.
Diffstat (limited to 'sys/dev/acpica/acpi_thermal.c')
-rw-r--r-- | sys/dev/acpica/acpi_thermal.c | 6 |
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, |