Call pci_print_verbose() before pci_add_resources() so that the order of
printf's during a verbose boot is more intuitive (the BAR listings and interrupt routing info now comes after the config header dump rather than just before it).
This commit is contained in:
parent
3ec96caf72
commit
9e605855ab
@ -1011,8 +1011,8 @@ pci_add_child(device_t bus, struct pci_devinfo *dinfo)
|
||||
resource_list_init(&dinfo->resources);
|
||||
pci_cfg_save(dinfo->cfg.dev, dinfo, 0);
|
||||
pci_cfg_restore(dinfo->cfg.dev, dinfo);
|
||||
pci_add_resources(pcib, bus, dinfo->cfg.dev);
|
||||
pci_print_verbose(dinfo);
|
||||
pci_add_resources(pcib, bus, dinfo->cfg.dev);
|
||||
}
|
||||
|
||||
static int
|
||||
|
Loading…
x
Reference in New Issue
Block a user