From 963f1a71f8d9633caae6e755aad9fd5bbda80485 Mon Sep 17 00:00:00 2001 From: njl Date: Fri, 15 Aug 2003 06:33:11 +0000 Subject: Revert part of rev. 1.16 -- reinstate system notify handler. It turns out at least the Casio FIVA requires this. Requested by: takawata --- sys/dev/acpica/acpi_acad.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sys/dev/acpica') diff --git a/sys/dev/acpica/acpi_acad.c b/sys/dev/acpica/acpi_acad.c index 9370fdb..605ee1a 100644 --- a/sys/dev/acpica/acpi_acad.c +++ b/sys/dev/acpica/acpi_acad.c @@ -172,6 +172,12 @@ acpi_acad_attach(device_t dev) sc->status = -1; sc->initializing = 0; + /* + * Also install a system notify handler even though this is not + * required by the specification. The Casio FIVA needs this. + */ + AcpiInstallNotifyHandler(handle, ACPI_SYSTEM_NOTIFY, + acpi_acad_notify_handler, dev); AcpiInstallNotifyHandler(handle, ACPI_DEVICE_NOTIFY, acpi_acad_notify_handler, dev); AcpiOsQueueForExecution(OSD_PRIORITY_LO, acpi_acad_init_acline, dev); -- cgit v1.1