From 92aa3b6885808c160ccbc4ad0ee6f3e6668c0964 Mon Sep 17 00:00:00 2001 From: Nate Lawson Date: Fri, 15 Aug 2003 06:33:11 +0000 Subject: [PATCH] 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(+) diff --git a/sys/dev/acpica/acpi_acad.c b/sys/dev/acpica/acpi_acad.c index 9370fdbb2815..605ee1a40eed 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);