From 3fa010222fde255b25534b51f451bd8ec4647a0a Mon Sep 17 00:00:00 2001 From: Mitsuru IWASAKI Date: Thu, 1 Nov 2001 22:20:41 +0000 Subject: [PATCH] Oops, deleted wrong BIF acquisition timeout invocation by mistake in my previous commit. acpi_cmbat_get_bif() from taskqueue calls acpi_cmbat_timeout() so it's better for startup. --- sys/dev/acpica/acpi_cmbat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/acpica/acpi_cmbat.c b/sys/dev/acpica/acpi_cmbat.c index 1505090cbbae..63212f49b1a1 100644 --- a/sys/dev/acpica/acpi_cmbat.c +++ b/sys/dev/acpica/acpi_cmbat.c @@ -415,7 +415,7 @@ acpi_cmbat_attach(device_t dev) acpi_cmbat_units++; timespecclear(&acpi_cmbat_info_lastupdated); - sc->cmbat_timeout = timeout(acpi_cmbat_timeout, dev, CMBAT_POLLRATE); + AcpiOsQueueForExecution(OSD_PRIORITY_LO, acpi_cmbat_get_bif, dev); return (0); }