diff options
author | Thomas Renninger <trenn@suse.de> | 2006-06-26 23:58:43 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-06-26 23:58:43 -0400 |
commit | a6fc67202e0224e6c9d1d285cc0b444bce887ed5 (patch) | |
tree | cb2d422f65c0ab0a95f452f6bac80e2bfdd547de /drivers/acpi/pci_root.c | |
parent | eb99adde31b7d85c67a5e1c2fa5e098e1056dd79 (diff) |
ACPI: Enable ACPI error messages w/o CONFIG_ACPI_DEBUG
Signed-off-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/pci_root.c')
-rw-r--r-- | drivers/acpi/pci_root.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/drivers/acpi/pci_root.c b/drivers/acpi/pci_root.c index 4c313eab6313..0f661dd42d41 100644 --- a/drivers/acpi/pci_root.c +++ b/drivers/acpi/pci_root.c | |||
@@ -198,7 +198,7 @@ static int acpi_pci_root_add(struct acpi_device *device) | |||
198 | root->id.segment = 0; | 198 | root->id.segment = 0; |
199 | break; | 199 | break; |
200 | default: | 200 | default: |
201 | ACPI_DEBUG_PRINT((ACPI_DB_ERROR, "Error evaluating _SEG\n")); | 201 | ACPI_EXCEPTION((AE_INFO, status, "Evaluating _SEG")); |
202 | result = -ENODEV; | 202 | result = -ENODEV; |
203 | goto end; | 203 | goto end; |
204 | } | 204 | } |
@@ -219,7 +219,7 @@ static int acpi_pci_root_add(struct acpi_device *device) | |||
219 | root->id.bus = 0; | 219 | root->id.bus = 0; |
220 | break; | 220 | break; |
221 | default: | 221 | default: |
222 | ACPI_DEBUG_PRINT((ACPI_DB_ERROR, "Error evaluating _BBN\n")); | 222 | ACPI_EXCEPTION((AE_INFO, status, "Evaluating _BBN")); |
223 | result = -ENODEV; | 223 | result = -ENODEV; |
224 | goto end; | 224 | goto end; |
225 | } | 225 | } |
@@ -231,8 +231,9 @@ static int acpi_pci_root_add(struct acpi_device *device) | |||
231 | int bus = 0; | 231 | int bus = 0; |
232 | acpi_status status; | 232 | acpi_status status; |
233 | 233 | ||
234 | ACPI_DEBUG_PRINT((ACPI_DB_ERROR, | 234 | ACPI_ERROR((AE_INFO, |
235 | "Wrong _BBN value, please reboot and using option 'pci=noacpi'\n")); | 235 | "Wrong _BBN value, reboot" |
236 | " and use option 'pci=noacpi'")); | ||
236 | 237 | ||
237 | status = try_get_root_bridge_busnr(root->handle, &bus); | 238 | status = try_get_root_bridge_busnr(root->handle, &bus); |
238 | if (ACPI_FAILURE(status)) | 239 | if (ACPI_FAILURE(status)) |
@@ -273,9 +274,9 @@ static int acpi_pci_root_add(struct acpi_device *device) | |||
273 | */ | 274 | */ |
274 | root->bus = pci_acpi_scan_root(device, root->id.segment, root->id.bus); | 275 | root->bus = pci_acpi_scan_root(device, root->id.segment, root->id.bus); |
275 | if (!root->bus) { | 276 | if (!root->bus) { |
276 | ACPI_DEBUG_PRINT((ACPI_DB_ERROR, | 277 | ACPI_ERROR((AE_INFO, |
277 | "Bus %04x:%02x not present in PCI namespace\n", | 278 | "Bus %04x:%02x not present in PCI namespace", |
278 | root->id.segment, root->id.bus)); | 279 | root->id.segment, root->id.bus)); |
279 | result = -ENODEV; | 280 | result = -ENODEV; |
280 | goto end; | 281 | goto end; |
281 | } | 282 | } |