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:
parent
350b60661a
commit
f5a1e58f59
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue