From patchwork Sat Oct 24 22:51:51 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: reduce default verbosity of resource allocator Date: Sat, 24 Oct 2009 22:51:51 -0000 From: Stefan Reinauer X-Patchwork-Id: 482 Message-Id: <4AE38507.4080000@coresystems.de> To: coreboot See patch Acked-by: Uwe Hermann Acked-by: Myles Watson Index: src/devices/device.c =================================================================== --- src/devices/device.c (revision 4842) +++ src/devices/device.c (working copy) @@ -890,11 +890,10 @@ printk_info("Enumerating buses...\n"); root = &dev_root; - show_all_devs(BIOS_DEBUG, "Before Device Enumeration."); - printk_debug("Compare with tree...\n"); + show_all_devs(BIOS_SPEW, "Before Device Enumeration."); + printk_spew("Compare with tree...\n"); + show_devs_tree(root, BIOS_SPEW, 0, 0); - show_devs_tree(root, BIOS_DEBUG, 0, 0); - if (root->chip_ops && root->chip_ops->enable_dev) { root->chip_ops->enable_dev(root); } @@ -945,7 +944,7 @@ read_resources(&root->link[0]); printk_info("Done reading resources.\n"); - print_resource_tree(root, BIOS_DEBUG, "After reading."); + print_resource_tree(root, BIOS_SPEW, "After reading."); /* Compute resources for all domains. */ for (child = root->link[0].children; child; child = child->sibling) { @@ -1021,7 +1020,7 @@ } assign_resources(&root->link[0]); printk_info("Done setting resources.\n"); - print_resource_tree(root, BIOS_DEBUG, "After assigning values."); + print_resource_tree(root, BIOS_SPEW, "After assigning values."); printk_info("Done allocating resources.\n"); } @@ -1068,5 +1067,5 @@ } } printk_info("Devices initialized\n"); - show_all_devs(BIOS_DEBUG, "After init."); + show_all_devs(BIOS_SPEW, "After init."); }