| /* Core PCI functionality used only by PCI hotplug */ |
| #include <linux/export.h> |
| int pci_hp_add_bridge(struct pci_dev *dev) |
| struct pci_bus *parent = dev->bus; |
| int pass, busnr, start = parent->busn_res.start; |
| int end = parent->busn_res.end; |
| for (busnr = start; busnr <= end; busnr++) { |
| if (!pci_find_bus(pci_domain_nr(parent), busnr)) |
| printk(KERN_ERR "No bus number available for hot-added bridge %s\n", |
| for (pass = 0; pass < 2; pass++) |
| busnr = pci_scan_bridge(parent, dev, busnr, pass); |
| EXPORT_SYMBOL_GPL(pci_hp_add_bridge); |