mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
Revert part of rev. 1.16 -- reinstate system notify handler. It turns out
at least the Casio FIVA requires this. Requested by: takawata
This commit is contained in:
parent
3cc12f33f4
commit
92aa3b6885
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=118937
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user