Deleted Added
full compact
28c28
< * $FreeBSD: head/sys/dev/acpica/acpi_button.c 125986 2004-02-19 05:35:20Z njl $
---
> * $FreeBSD: head/sys/dev/acpica/acpi_button.c 126014 2004-02-19 18:16:34Z njl $
133c133,137
< /* Install the appropriate new handler. */
---
> /*
> * Install the new handler. We could remove any fixed handlers added
> * from the FADT once we have a duplicate from the AML but some systems
> * only return events on one or the other so we have to keep both.
> */
149,158d152
< /*
< * If we have fixed buttons defined in the FADT, remove them now that
< * we have found one in the AML. Some systems define buttons both ways
< * but only deliver events to the AML object.
< */
< if (event == ACPI_EVENT_POWER_BUTTON && AcpiGbl_FADT->PwrButton == 0)
< AcpiRemoveFixedEventHandler(event, acpi_event_power_button_sleep);
< if (event == ACPI_EVENT_SLEEP_BUTTON && AcpiGbl_FADT->SleepButton == 0)
< AcpiRemoveFixedEventHandler(event, acpi_event_sleep_button_sleep);
<