Correct the order of some if tests so that we don't complain about being

unable to route an IRQ when we do route an IRQ ok but bootverbose is off.

Reported by:	Ben Kaduk minimarmot at gmail dot com
This commit is contained in:
jhb 2005-07-27 15:21:32 +00:00
parent 142d92ef25
commit 3b5e58119d

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