From f5a1e58f590ae7a0925eba8f9fccae4341534af2 Mon Sep 17 00:00:00 2001 From: Tomas Hruby Date: Fri, 6 May 2011 17:41:14 +0200 Subject: [PATCH] PCI - do not panic when ACPI cannot map bridges - when ACPI does not find mappings for pci brdiges, do no panic, only report a warning and continue to a fallback which uses only the root bus IRQ routing table. Fail only if that is not present. --- drivers/pci/pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 004ddcae2..3a630ccef 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -1856,7 +1856,7 @@ PRIVATE void acpi_map_bridge(unsigned pbnr, unsigned dev, unsigned sbnr) panic("PCI: error %d while receiveing from ACPI\n", err); if (((struct acpi_map_bridge_resp *)&m)->err != OK) - panic("PCI: acpi failed to map pci (%d) to pci (%d) bridge\n", + printf("PCI: acpi failed to map pci (%d) to pci (%d) bridge\n", pbnr, sbnr); } -- 2.44.0