Do not attach acpitz(4) if the _STA method indicates that a thermal zone
authorkettenis <kettenis@openbsd.org>
Tue, 2 Jul 2024 08:27:04 +0000 (08:27 +0000)
committerkettenis <kettenis@openbsd.org>
Tue, 2 Jul 2024 08:27:04 +0000 (08:27 +0000)
commit26a40d9e37747a58e21e4c9ff3865c199d9d9c6f
tree54144450356d42936c808ce459c2067a1477f179
parentfba61c05da5518ae35886775e121ceb49de39a8e
Do not attach acpitz(4) if the _STA method indicates that a thermal zone
isn't present.  While it isn't clear whether _STA applies to thermal zones
according to the ACPI standard, this prevents issues on the Asus Vivobook S15.

ok miod@, patrick@, deraadt@
sys/dev/acpi/acpi.c