summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander von Gluck IV <kallisti5@unixzen.com>2017-03-20 19:10:14 (GMT)
committerAlexander von Gluck IV <kallisti5@unixzen.com>2017-03-20 19:10:14 (GMT)
commitd8ce1a9fad39bd68f03d7fc78b3012e73c382f5a (patch)
tree2514baa492ff82b397acb858cbee4dd28442e08b
parentab8f11bff81c6fb099c135dba260ab2870f298c7 (diff)
x86/irq_routing: Convert panic into warning. Solves #13388hrev51032
* Solves #13388 and likely a bunch of other bug reports. * While this *is* an issue that can potentially be serious, there really isn't a risk of data loss or a system instability, only broken PCI devices. Show warning and keep going.
-rw-r--r--src/system/kernel/arch/x86/irq_routing_table.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/system/kernel/arch/x86/irq_routing_table.cpp b/src/system/kernel/arch/x86/irq_routing_table.cpp
index 7e5acfe..c442fac 100644
--- a/src/system/kernel/arch/x86/irq_routing_table.cpp
+++ b/src/system/kernel/arch/x86/irq_routing_table.cpp
@@ -586,8 +586,9 @@ ensure_all_functions_matched(pci_module_info* pci, uint8 bus,
continue;
}
- panic("unable to find irq routing for PCI %u:%u:%u", bus,
- device, function);
+ dprintf("WARNING: unable to find irq routing for PCI "
+ "%" B_PRIu8 ":%" B_PRIu8 ":%" B_PRIu8 ". Device may be "
+ "unstable / broken.\n", bus, device, function);
return B_ERROR;
}
}