From 5f9624d211a247c032a31b22c3b47158f7083c9e Mon Sep 17 00:00:00 2001 From: Yinghai Lu Date: Wed, 4 Oct 2006 22:56:21 +0000 Subject: CONFIG_USE_PRINTK_IN_CAR and ht chain id for HTX support in serengeti_cheeatah git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2439 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/devices/pci_device.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'src/devices/pci_device.c') diff --git a/src/devices/pci_device.c b/src/devices/pci_device.c index 2a7502b280..2750893378 100644 --- a/src/devices/pci_device.c +++ b/src/devices/pci_device.c @@ -761,9 +761,7 @@ static void set_pci_ops(struct device *dev) return; } - printk_debug("%s: seeking driver for %x:%x class %x\n", - __FUNCTION__, dev->vendor, dev->device, dev->class); - /* Look through the list of setup drivers and find one for + /* Look through the list of setup drivers and find one for * this pci device */ for(driver = &pci_drivers[0]; driver != &epci_drivers[0]; driver++) { @@ -1004,7 +1002,11 @@ unsigned int pci_scan_bus(struct bus *bus, device_t old_devices; device_t child; - printk_debug("PCI: pci_scan_bus for bus %d\n", bus->secondary); +#if PCI_BUS_SEGN_BITS + printk_debug("PCI: pci_scan_bus for bus %04x:%02x\n", bus->secondary >> 8, bus->secondary & 0xff); +#else + printk_debug("PCI: pci_scan_bus for bus %02x\n", bus->secondary); +#endif old_devices = bus->children; bus->children = 0; @@ -1062,7 +1064,7 @@ unsigned int pci_scan_bus(struct bus *bus, * * Return how far we've got finding sub-buses. */ - printk_debug("PCI: pci_scan_bus returning with max=%02x\n", max); + printk_debug("PCI: pci_scan_bus returning with max=%03x\n", max); post_code(0x55); return max; } -- cgit v1.2.3