From 9e605855ab14ec59e9983cf7ac4e36b68bc2fc43 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Thu, 14 Apr 2005 17:52:55 +0000 Subject: 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). --- sys/dev/pci/pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/pci') diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c index c6eb7d7237819..70f248b8b04f4 100644 --- a/sys/dev/pci/pci.c +++ b/sys/dev/pci/pci.c @@ -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 -- cgit v1.3