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.
This commit is contained in:
Tomas Hruby 2011-05-06 17:41:14 +02:00
parent 350b60661a
commit f5a1e58f59

View file

@ -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); panic("PCI: error %d while receiveing from ACPI\n", err);
if (((struct acpi_map_bridge_resp *)&m)->err != OK) 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); pbnr, sbnr);
} }