Bugzilla – Bug 442
ACPI_BITREG_WAKE_ENABLE bit-defined Register Id usage should result in AE_BAD_PARAMETER
Last modified: 2008-09-26 19:56:51
You need to log in before you can comment on or make changes to this bug.
AcpiGetRegister and AcpiSetRegister ACPICA interfaces along with other actual bit-defined Register Ids are specified to deal with the manifest constant ACPI_BITREG_WAKE_ENABLE not referring to any defined bit of the fixed ACPI h/w registers. It is expected that call to them with the ACPI_BITREG_WAKE_ENABLE Register Id should result in the exception code AE_BAD_PARAMETER. Now it results in AE_OK. INTERNAL API TS BUG NUMBER: 30
Created an attachment (id=503) [details] Proposed patch
No any WAKE_ENABLE bit register defined in any version of ACPI spec (1.0b-3.0a). And ACPI_BITREG_WAKE_ENABLE is not used in any code. How about just delete it?
Created an attachment (id=796) [details] proposed patch Remove ACPI_BITREG_WAKE_ENABLE since it's unused both in spec and in code.
Looks like ACPI_BITREG_WAKE_ENABLE was put there as a placeholder. I believe it can and should be removed.
ship in ACPICA release 20080926