device_t real_last_dev = NULL;
#endif
+ printk(BIOS_INFO, "%s: before ht_collapse_early_enumeration\n", __func__);
/* Restore the hypertransport chain to it's unitialized state. */
ht_collapse_early_enumeration(bus, offset_unitid);
+ printk(BIOS_INFO, "%s: after ht_collapse_early_enumeration\n", __func__);
/* See which static device nodes I have. */
old_devices = bus->children;
} while ((ctrl & (1 << 5)) == 0);
+ printk(BIOS_INFO, "%s: before ht_scan_get_devs\n", __func__);
/* Get and setup the device_structure. */
dev = ht_scan_get_devs(&old_devices);
+ printk(BIOS_INFO, "%s: after ht_scan_get_devs\n", __func__);
/* See if a device is present and setup the device structure. */
+ printk(BIOS_INFO, "%s: before pci_probe_dev\n", __func__);
dev = pci_probe_dev(dev, bus, 0);
+ printk(BIOS_INFO, "%s: after pci_probe_dev\n", __func__);
if (!dev || !dev->enabled)
break;
/* Find the hypertransport link capability. */
+ printk(BIOS_INFO, "%s: before ht_lookup_slave_capability\n", __func__);
pos = ht_lookup_slave_capability(dev);
+ printk(BIOS_INFO, "%s: after ht_lookup_slave_capability\n", __func__);
if (pos == 0) {
printk(BIOS_ERR, "%s Hypertransport link capability "
"not found", dev_path(dev));
max_unitid = next_unitid;
/* Setup the hypetransport link. */
+ printk(BIOS_INFO, "%s: before ht_setup_link\n", __func__);
bus->reset_needed |= ht_setup_link(&prev, dev, pos);
+ printk(BIOS_INFO, "%s: after ht_setup_link\n", __func__);
printk(BIOS_DEBUG, "%s [%04x/%04x] %s next_unitid: %04x\n",
dev_path(dev), dev->vendor, dev->device,
end_of_chain:
+ printk(BIOS_INFO, "%s: end_of_chain. w00t!\n", __func__);
#if OPT_HT_LINK == 1
if (bus->reset_needed)
printk(BIOS_INFO, "HyperT reset needed\n");
last_func->sibling = old_devices;
}
+ printk(BIOS_INFO, "%s: before pci_scan_bus!\n", __func__);
/* Now that nothing is overlapping it is safe to scan the children. */
max = pci_scan_bus(bus, 0x00, ((next_unitid - 1) << 3) | 7, max);
+ printk(BIOS_INFO, "%s: after pci_scan_bus!\n", __func__);
return max;
}