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:
parent
142d92ef25
commit
3b5e58119d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user