pci-common.c (566c1d0a49da09dfdf23e836398e2607f44c7c5e) pci-common.c (ab444ec97e8bd65fff9d489b9a409fc03979268b)
1/*
2 * Contains common pci routines for ALL ppc platform
3 * (based on pci_32.c and pci_64.c)
4 *
5 * Port for PPC64 David Engebretsen, IBM Corp.
6 * Contains common pci routines for ppc64 platform, pSeries and iSeries brands.
7 *
8 * Copyright (C) 2003 Anton Blanchard <anton@au.ibm.com>, IBM

--- 1448 unchanged lines hidden (view full) ---

1457void pcibios_finish_adding_to_bus(struct pci_bus *bus)
1458{
1459 pr_debug("PCI: Finishing adding to hotplug bus %04x:%02x\n",
1460 pci_domain_nr(bus), bus->number);
1461
1462 /* Allocate bus and devices resources */
1463 pcibios_allocate_bus_resources(bus);
1464 pcibios_claim_one_bus(bus);
1/*
2 * Contains common pci routines for ALL ppc platform
3 * (based on pci_32.c and pci_64.c)
4 *
5 * Port for PPC64 David Engebretsen, IBM Corp.
6 * Contains common pci routines for ppc64 platform, pSeries and iSeries brands.
7 *
8 * Copyright (C) 2003 Anton Blanchard <anton@au.ibm.com>, IBM

--- 1448 unchanged lines hidden (view full) ---

1457void pcibios_finish_adding_to_bus(struct pci_bus *bus)
1458{
1459 pr_debug("PCI: Finishing adding to hotplug bus %04x:%02x\n",
1460 pci_domain_nr(bus), bus->number);
1461
1462 /* Allocate bus and devices resources */
1463 pcibios_allocate_bus_resources(bus);
1464 pcibios_claim_one_bus(bus);
1465 if (!pci_has_flag(PCI_PROBE_ONLY))
1466 pci_assign_unassigned_bus_resources(bus);
1465
1466 /* Fixup EEH */
1467 eeh_add_device_tree_late(bus);
1468
1469 /* Add new devices to global lists. Register in proc, sysfs. */
1470 pci_bus_add_devices(bus);
1471
1472 /* sysfs files should only be added after devices are added */

--- 243 unchanged lines hidden ---
1467
1468 /* Fixup EEH */
1469 eeh_add_device_tree_late(bus);
1470
1471 /* Add new devices to global lists. Register in proc, sysfs. */
1472 pci_bus_add_devices(bus);
1473
1474 /* sysfs files should only be added after devices are added */

--- 243 unchanged lines hidden ---