History

powerpc/pci: Add calls to set_pcie_port_type() and set_pcie_hotplug_bridge()

We are missing these when building the pci_dev from scratch off the Open Firmware device-tree

Benjamin Herrenschmidt committed 16 years ago

Commit bb209c81 parent b04da8b3 files · +8 −2Browse files

Showing the changes to include (1 of 3 files). Show all

Unified · Split

include/linux/pci.h+4−0
@@ -756,6 +756,10 @@ pci_power_t pci_target_state(struct pci_dev *dev); · 755 unmodified lines
756int pci_prepare_to_sleep(struct pci_dev *dev);756int pci_prepare_to_sleep(struct pci_dev *dev);
757int pci_back_from_sleep(struct pci_dev *dev);757int pci_back_from_sleep(struct pci_dev *dev);
758 758
759/* For use by arch with custom probe code */
760void set_pcie_port_type(struct pci_dev *pdev);
761void set_pcie_hotplug_bridge(struct pci_dev *pdev);
762
759/* Functions for PCI Hotplug drivers to use */763/* Functions for PCI Hotplug drivers to use */
760int pci_bus_find_capability(struct pci_bus *bus, unsigned int devfn, int cap);764int pci_bus_find_capability(struct pci_bus *bus, unsigned int devfn, int cap);
761#ifdef CONFIG_HOTPLUG765#ifdef CONFIG_HOTPLUG