diff options
Diffstat (limited to 'drivers/acpi/hardware')
-rw-r--r-- | drivers/acpi/hardware/hwacpi.c | 7 | ||||
-rw-r--r-- | drivers/acpi/hardware/hwgpe.c | 2 | ||||
-rw-r--r-- | drivers/acpi/hardware/hwregs.c | 29 | ||||
-rw-r--r-- | drivers/acpi/hardware/hwsleep.c | 2 | ||||
-rw-r--r-- | drivers/acpi/hardware/hwtimer.c | 2 |
5 files changed, 16 insertions, 26 deletions
diff --git a/drivers/acpi/hardware/hwacpi.c b/drivers/acpi/hardware/hwacpi.c index 20a335cc9bea..5c068cc4f674 100644 --- a/drivers/acpi/hardware/hwacpi.c +++ b/drivers/acpi/hardware/hwacpi.c | |||
@@ -6,7 +6,7 @@ | |||
6 | *****************************************************************************/ | 6 | *****************************************************************************/ |
7 | 7 | ||
8 | /* | 8 | /* |
9 | * Copyright (C) 2000 - 2005, R. Byron Moore | 9 | * Copyright (C) 2000 - 2006, R. Byron Moore |
10 | * All rights reserved. | 10 | * All rights reserved. |
11 | * | 11 | * |
12 | * Redistribution and use in source and binary forms, with or without | 12 | * Redistribution and use in source and binary forms, with or without |
@@ -68,8 +68,7 @@ acpi_status acpi_hw_initialize(void) | |||
68 | /* We must have the ACPI tables by the time we get here */ | 68 | /* We must have the ACPI tables by the time we get here */ |
69 | 69 | ||
70 | if (!acpi_gbl_FADT) { | 70 | if (!acpi_gbl_FADT) { |
71 | ACPI_DEBUG_PRINT((ACPI_DB_ERROR, "No FADT is present\n")); | 71 | ACPI_REPORT_ERROR(("No FADT is present\n")); |
72 | |||
73 | return_ACPI_STATUS(AE_NO_ACPI_TABLES); | 72 | return_ACPI_STATUS(AE_NO_ACPI_TABLES); |
74 | } | 73 | } |
75 | 74 | ||
@@ -108,7 +107,7 @@ acpi_status acpi_hw_set_mode(u32 mode) | |||
108 | * system does not support mode transition. | 107 | * system does not support mode transition. |
109 | */ | 108 | */ |
110 | if (!acpi_gbl_FADT->smi_cmd) { | 109 | if (!acpi_gbl_FADT->smi_cmd) { |
111 | ACPI_REPORT_ERROR(("No SMI_CMD in FADT, mode transition failed.\n")); | 110 | ACPI_REPORT_ERROR(("No SMI_CMD in FADT, mode transition failed\n")); |
112 | return_ACPI_STATUS(AE_NO_HARDWARE_RESPONSE); | 111 | return_ACPI_STATUS(AE_NO_HARDWARE_RESPONSE); |
113 | } | 112 | } |
114 | 113 | ||
diff --git a/drivers/acpi/hardware/hwgpe.c b/drivers/acpi/hardware/hwgpe.c index 5c8e5dfd024e..d84942d22dd5 100644 --- a/drivers/acpi/hardware/hwgpe.c +++ b/drivers/acpi/hardware/hwgpe.c | |||
@@ -6,7 +6,7 @@ | |||
6 | *****************************************************************************/ | 6 | *****************************************************************************/ |
7 | 7 | ||
8 | /* | 8 | /* |
9 | * Copyright (C) 2000 - 2005, R. Byron Moore | 9 | * Copyright (C) 2000 - 2006, R. Byron Moore |
10 | * All rights reserved. | 10 | * All rights reserved. |
11 | * | 11 | * |
12 | * Redistribution and use in source and binary forms, with or without | 12 | * Redistribution and use in source and binary forms, with or without |
diff --git a/drivers/acpi/hardware/hwregs.c b/drivers/acpi/hardware/hwregs.c index b243f20708b7..b4b50a3d1705 100644 --- a/drivers/acpi/hardware/hwregs.c +++ b/drivers/acpi/hardware/hwregs.c | |||
@@ -7,7 +7,7 @@ | |||
7 | ******************************************************************************/ | 7 | ******************************************************************************/ |
8 | 8 | ||
9 | /* | 9 | /* |
10 | * Copyright (C) 2000 - 2005, R. Byron Moore | 10 | * Copyright (C) 2000 - 2006, R. Byron Moore |
11 | * All rights reserved. | 11 | * All rights reserved. |
12 | * | 12 | * |
13 | * Redistribution and use in source and binary forms, with or without | 13 | * Redistribution and use in source and binary forms, with or without |
@@ -202,12 +202,7 @@ acpi_get_sleep_type_data(u8 sleep_state, u8 * sleep_type_a, u8 * sleep_type_b) | |||
202 | } | 202 | } |
203 | 203 | ||
204 | if (ACPI_FAILURE(status)) { | 204 | if (ACPI_FAILURE(status)) { |
205 | ACPI_DEBUG_PRINT((ACPI_DB_ERROR, | 205 | ACPI_REPORT_ERROR(("%s While evaluating sleep_state [%s], bad Sleep object %p type %s\n", acpi_format_exception(status), sleep_state_name, info.return_object, acpi_ut_get_object_type_name(info.return_object))); |
206 | "%s While evaluating sleep_state [%s], bad Sleep object %p type %s\n", | ||
207 | acpi_format_exception(status), | ||
208 | sleep_state_name, info.return_object, | ||
209 | acpi_ut_get_object_type_name(info. | ||
210 | return_object))); | ||
211 | } | 206 | } |
212 | 207 | ||
213 | acpi_ut_remove_reference(info.return_object); | 208 | acpi_ut_remove_reference(info.return_object); |
@@ -230,12 +225,11 @@ EXPORT_SYMBOL(acpi_get_sleep_type_data); | |||
230 | 225 | ||
231 | struct acpi_bit_register_info *acpi_hw_get_bit_register_info(u32 register_id) | 226 | struct acpi_bit_register_info *acpi_hw_get_bit_register_info(u32 register_id) |
232 | { | 227 | { |
233 | ACPI_FUNCTION_NAME("hw_get_bit_register_info"); | 228 | ACPI_FUNCTION_ENTRY(); |
234 | 229 | ||
235 | if (register_id > ACPI_BITREG_MAX) { | 230 | if (register_id > ACPI_BITREG_MAX) { |
236 | ACPI_DEBUG_PRINT((ACPI_DB_ERROR, | 231 | ACPI_REPORT_ERROR(("Invalid bit_register ID: %X\n", |
237 | "Invalid bit_register ID: %X\n", | 232 | register_id)); |
238 | register_id)); | ||
239 | return (NULL); | 233 | return (NULL); |
240 | } | 234 | } |
241 | 235 | ||
@@ -570,8 +564,7 @@ acpi_hw_register_read(u8 use_lock, u32 register_id, u32 * return_value) | |||
570 | break; | 564 | break; |
571 | 565 | ||
572 | default: | 566 | default: |
573 | ACPI_DEBUG_PRINT((ACPI_DB_ERROR, "Unknown Register ID: %X\n", | 567 | ACPI_REPORT_ERROR(("Unknown Register ID: %X\n", register_id)); |
574 | register_id)); | ||
575 | status = AE_BAD_PARAMETER; | 568 | status = AE_BAD_PARAMETER; |
576 | break; | 569 | break; |
577 | } | 570 | } |
@@ -766,9 +759,8 @@ acpi_hw_low_level_read(u32 width, u32 * value, struct acpi_generic_address *reg) | |||
766 | break; | 759 | break; |
767 | 760 | ||
768 | default: | 761 | default: |
769 | ACPI_DEBUG_PRINT((ACPI_DB_ERROR, | 762 | ACPI_REPORT_ERROR(("Unsupported address space: %X\n", |
770 | "Unsupported address space: %X\n", | 763 | reg->address_space_id)); |
771 | reg->address_space_id)); | ||
772 | return (AE_BAD_PARAMETER); | 764 | return (AE_BAD_PARAMETER); |
773 | } | 765 | } |
774 | 766 | ||
@@ -837,9 +829,8 @@ acpi_hw_low_level_write(u32 width, u32 value, struct acpi_generic_address * reg) | |||
837 | break; | 829 | break; |
838 | 830 | ||
839 | default: | 831 | default: |
840 | ACPI_DEBUG_PRINT((ACPI_DB_ERROR, | 832 | ACPI_REPORT_ERROR(("Unsupported address space: %X\n", |
841 | "Unsupported address space: %X\n", | 833 | reg->address_space_id)); |
842 | reg->address_space_id)); | ||
843 | return (AE_BAD_PARAMETER); | 834 | return (AE_BAD_PARAMETER); |
844 | } | 835 | } |
845 | 836 | ||
diff --git a/drivers/acpi/hardware/hwsleep.c b/drivers/acpi/hardware/hwsleep.c index 34519069050c..992128d71117 100644 --- a/drivers/acpi/hardware/hwsleep.c +++ b/drivers/acpi/hardware/hwsleep.c | |||
@@ -6,7 +6,7 @@ | |||
6 | *****************************************************************************/ | 6 | *****************************************************************************/ |
7 | 7 | ||
8 | /* | 8 | /* |
9 | * Copyright (C) 2000 - 2005, R. Byron Moore | 9 | * Copyright (C) 2000 - 2006, R. Byron Moore |
10 | * All rights reserved. | 10 | * All rights reserved. |
11 | * | 11 | * |
12 | * Redistribution and use in source and binary forms, with or without | 12 | * Redistribution and use in source and binary forms, with or without |
diff --git a/drivers/acpi/hardware/hwtimer.c b/drivers/acpi/hardware/hwtimer.c index aff6dc141784..fc10b7cb456f 100644 --- a/drivers/acpi/hardware/hwtimer.c +++ b/drivers/acpi/hardware/hwtimer.c | |||
@@ -6,7 +6,7 @@ | |||
6 | *****************************************************************************/ | 6 | *****************************************************************************/ |
7 | 7 | ||
8 | /* | 8 | /* |
9 | * Copyright (C) 2000 - 2005, R. Byron Moore | 9 | * Copyright (C) 2000 - 2006, R. Byron Moore |
10 | * All rights reserved. | 10 | * All rights reserved. |
11 | * | 11 | * |
12 | * Redistribution and use in source and binary forms, with or without | 12 | * Redistribution and use in source and binary forms, with or without |