diff options
author | Bob Moore <robert.moore@intel.com> | 2009-03-05 20:49:25 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-03-27 12:11:01 -0400 |
commit | 768aaaf196e8a40f5cfc792d9d365795cc52ed13 (patch) | |
tree | b223711c833a4848711b3c322dea9a9809e22836 /drivers/acpi/acpica/evxfevnt.c | |
parent | 2affa28605fa5387192c72d9889a00c9c51aa712 (diff) |
ACPICA: Add manifest constants for bit register values
Add and deploy constants for the PM status/enable/control
registers.
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/evxfevnt.c')
-rw-r--r-- | drivers/acpi/acpica/evxfevnt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/acpi/acpica/evxfevnt.c b/drivers/acpi/acpica/evxfevnt.c index 484c9793ca06..d0a080747ec3 100644 --- a/drivers/acpi/acpica/evxfevnt.c +++ b/drivers/acpi/acpica/evxfevnt.c | |||
@@ -173,7 +173,7 @@ acpi_status acpi_enable_event(u32 event, u32 flags) | |||
173 | */ | 173 | */ |
174 | status = | 174 | status = |
175 | acpi_write_bit_register(acpi_gbl_fixed_event_info[event]. | 175 | acpi_write_bit_register(acpi_gbl_fixed_event_info[event]. |
176 | enable_register_id, 1); | 176 | enable_register_id, ACPI_ENABLE_EVENT); |
177 | if (ACPI_FAILURE(status)) { | 177 | if (ACPI_FAILURE(status)) { |
178 | return_ACPI_STATUS(status); | 178 | return_ACPI_STATUS(status); |
179 | } | 179 | } |
@@ -355,7 +355,7 @@ acpi_status acpi_disable_event(u32 event, u32 flags) | |||
355 | */ | 355 | */ |
356 | status = | 356 | status = |
357 | acpi_write_bit_register(acpi_gbl_fixed_event_info[event]. | 357 | acpi_write_bit_register(acpi_gbl_fixed_event_info[event]. |
358 | enable_register_id, 0); | 358 | enable_register_id, ACPI_DISABLE_EVENT); |
359 | if (ACPI_FAILURE(status)) { | 359 | if (ACPI_FAILURE(status)) { |
360 | return_ACPI_STATUS(status); | 360 | return_ACPI_STATUS(status); |
361 | } | 361 | } |
@@ -408,7 +408,7 @@ acpi_status acpi_clear_event(u32 event) | |||
408 | */ | 408 | */ |
409 | status = | 409 | status = |
410 | acpi_write_bit_register(acpi_gbl_fixed_event_info[event]. | 410 | acpi_write_bit_register(acpi_gbl_fixed_event_info[event]. |
411 | status_register_id, 1); | 411 | status_register_id, ACPI_CLEAR_STATUS); |
412 | 412 | ||
413 | return_ACPI_STATUS(status); | 413 | return_ACPI_STATUS(status); |
414 | } | 414 | } |