list_for_each_entry(dev, &bus->devices, bus_list) {
  if (!list_entry(&dev->global_list))
    continue;
  pci_bus_add_device(dev);
}