diff options
-rw-r--r-- | sys/dev/acpica/acpi_acad.c | 8 | ||||
-rw-r--r-- | sys/dev/acpica/acpi_cmbat.c | 4 |
2 files changed, 4 insertions, 8 deletions
diff --git a/sys/dev/acpica/acpi_acad.c b/sys/dev/acpica/acpi_acad.c index b4422b8..fc9f0bd 100644 --- a/sys/dev/acpica/acpi_acad.c +++ b/sys/dev/acpica/acpi_acad.c @@ -178,12 +178,10 @@ acpi_acad_attach(device_t dev) sc->initializing = 0; /* - * Also install a system notify handler even though this is not - * required by the specification. The Casio FIVA needs this. + * Install both system and device notify handlers since the Casio + * FIVA needs them. */ - AcpiInstallNotifyHandler(handle, ACPI_SYSTEM_NOTIFY, - acpi_acad_notify_handler, dev); - AcpiInstallNotifyHandler(handle, ACPI_DEVICE_NOTIFY, + AcpiInstallNotifyHandler(handle, ACPI_ALL_NOTIFY, acpi_acad_notify_handler, dev); AcpiOsQueueForExecution(OSD_PRIORITY_LO, acpi_acad_init_acline, dev); diff --git a/sys/dev/acpica/acpi_cmbat.c b/sys/dev/acpica/acpi_cmbat.c index bf859e8..362d0a1 100644 --- a/sys/dev/acpica/acpi_cmbat.c +++ b/sys/dev/acpica/acpi_cmbat.c @@ -320,9 +320,7 @@ acpi_cmbat_attach(device_t dev) * Install a system notify handler in addition to the device notify. * Toshiba notebook uses this alternate notify for its battery. */ - AcpiInstallNotifyHandler(handle, ACPI_SYSTEM_NOTIFY, - acpi_cmbat_notify_handler, dev); - AcpiInstallNotifyHandler(handle, ACPI_DEVICE_NOTIFY, + AcpiInstallNotifyHandler(handle, ACPI_ALL_NOTIFY, acpi_cmbat_notify_handler, dev); sc->bif_updating = sc->bst_updating = 0; |