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
250614c5ab
commit
b88076fede
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=148449
@ -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…
Reference in New Issue
Block a user