Call _INI on Thermal Zones as well as devices.

This commit is contained in:
Nate Lawson 2004-02-28 22:43:18 +00:00
parent 961af6677b
commit 2881b39793
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=126388

View File

@ -200,6 +200,12 @@ acpi_tz_attach(device_t dev)
if ((error = acpi_tz_establish(sc)) != 0)
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.
*/