mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-19 23:03:55 +00:00
Improve the panic message for a busted MP table with conflicting entries
for the same PCI interrupt. Tested by: Pavel Gubin pg at ie dot tusur dot ru MFC after: 3 days
This commit is contained in:
parent
a2af6bc259
commit
9eba48462e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=135754
|
@ -935,7 +935,9 @@ mptable_pci_route_interrupt_handler(u_char *entry, void *arg)
|
|||
if (args->vector == vector)
|
||||
return;
|
||||
KASSERT(args->vector == -1,
|
||||
("Multiple entries for PCI IRQ %d", args->vector));
|
||||
("Multiple IRQs for PCI interrupt %d.%d.INT%c: %d and %d\n",
|
||||
args->bus, args->irq >> 2, 'A' + (args->irq & 0x3), args->vector,
|
||||
vector));
|
||||
args->vector = vector;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue