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:
John Baldwin 2004-09-24 18:42:54 +00:00
parent a2af6bc259
commit 9eba48462e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=135754

View file

@ -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;
}