MFC: Correct some if tests to fix a confusing printf when we route a new

IRQ for a link.

Approved by:	re (kensmith)
This commit is contained in:
jhb 2005-08-11 15:35:41 +00:00
parent 21e7ad9511
commit 9817d79419

View File

@ -955,8 +955,8 @@ acpi_pci_link_choose_irq(device_t dev, struct link *link)
}
}
if (bootverbose) {
if (PCI_INTERRUPT_VALID(best_irq))
if (PCI_INTERRUPT_VALID(best_irq)) {
if (bootverbose)
device_printf(dev, "Picked IRQ %u with weight %d\n",
best_irq, best_weight);
} else