aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorNate Lawson <njl@FreeBSD.org>2003-08-15 06:33:11 +0000
committerNate Lawson <njl@FreeBSD.org>2003-08-15 06:33:11 +0000
commit92aa3b6885808c160ccbc4ad0ee6f3e6668c0964 (patch)
tree00dbd4833b04bdc6d2ccd576011d12f6a593d61c /sys/dev
parent3cc12f33f4782cc3112bb491c2d181a41208b9ec (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/acpica/acpi_acad.c6
1 files changed, 6 insertions, 0 deletions
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);