/* Called after each bus is probed, but before its children are examined.  */
void __devinit pcibios_fixup_bus(struct pci_bus *b)
/* Called after each bus is probed, but before its children are examined.  */
void __devinit pcibios_fixup_bus(struct pci_bus *b)
{
	struct pci_dev *dev;
	if (b->self) {
		pci_read_bridge_bases(b);
		pcibios_fixup_bridge_resources(b->self);
	} else {
		pcibios_setup_root_windows(b, b->sysdata);
	}
	list_for_each_entry(dev, &b->devices, bus_list)
		pcibios_fixup_device_resources(dev);
	platform_pci_fixup_bus(b);
	return;
}