linux_old1/drivers/pci/host
Jayachandran C 499733e0cc PCI: generic: Remove dependency on ARM-specific struct hw_pci
The generic OF-based host controller driver uses pci_common_init_dev(),
which is ARM-specific and requires the ARM struct hw_pci.  The part of
pci_common_init_dev() that is needed is limited and can be done here
without using hw_pci.

Note that the ARM pcibios functions expect the PCI sysdata to be a pointer
to a struct pci_sys_data.  Add a struct pci_sys_data as the first element
in struct gen_pci so that when we use a gen_pci pointer as sysdata, it is
also a pointer to a struct pci_sys_data.

Create and scan the root bus directly without using the ARM
pci_common_init_dev() interface.

[bhelgaas: changelog, move pcie_bus_configure_settings() before
pci_bus_add_devices(), combine !PCI_PROBE_ONLY blocks]
Tested-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Tested-by: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>
Tested-by: Pavel Fedin <p.fedin@samsung.com>
Signed-off-by: Jayachandran C <jchandra@broadcom.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
2015-08-20 12:02:49 -05:00
..
Kconfig Merge branches 'pci/host-designware', 'pci/host-designware-common', 'pci/host-generic', 'pci/host-imx6', 'pci/host-iproc' and 'pci/host-xgene' into next 2015-06-16 08:19:55 -05:00
Makefile Merge branches 'pci/host-designware', 'pci/host-designware-common', 'pci/host-generic', 'pci/host-imx6', 'pci/host-iproc' and 'pci/host-xgene' into next 2015-06-16 08:19:55 -05:00
pci-dra7xx.c PCI: designware: Wait for link to come up with consistent style 2015-06-10 13:52:59 -05:00
pci-exynos.c PCI: designware: Wait for link to come up with consistent style 2015-06-10 13:52:59 -05:00
pci-host-generic.c PCI: generic: Remove dependency on ARM-specific struct hw_pci 2015-08-20 12:02:49 -05:00
pci-imx6.c Merge branches 'pci/host-designware', 'pci/host-designware-common', 'pci/host-generic', 'pci/host-imx6', 'pci/host-iproc' and 'pci/host-xgene' into next 2015-06-16 08:19:55 -05:00
pci-keystone-dw.c PCI: keystone: Don't dereference possible NULL pointer 2015-04-09 14:34:10 -05:00
pci-keystone.c Merge branch 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2015-07-01 15:19:35 -07:00
pci-keystone.h PCI/MSI: Rename "struct msi_chip" to "struct msi_controller" 2014-11-12 07:49:38 -07:00
pci-layerscape.c PCI: designware: Wait for link to come up with consistent style 2015-06-10 13:52:59 -05:00
pci-mvebu.c PCI: mvebu: Remove mvebu_pcie_scan_bus() 2015-05-26 19:05:59 -05:00
pci-rcar-gen2.c PCI: rcar: Verify that mem_res is 64K-aligned 2015-02-24 00:24:19 -06:00
pci-tegra.c PCI: tegra: Remove tegra_pcie_scan_bus() 2015-05-27 11:34:29 -05:00
pci-versatile.c Merge branches 'pci/host-exynos', 'pci/host-iproc', 'pci/host-keystone', 'pci/host-layerscape', 'pci/host-mvebu', 'pci/host-rcar' and 'pci/host-versatile' into next 2015-04-10 08:26:54 -05:00
pci-xgene-msi.c PCI: xgene: Add APM X-Gene v1 PCIe MSI/MSIX termination driver 2015-06-05 15:56:34 -05:00
pci-xgene.c PCI: xgene: Allow config access to Root Port even when link is down 2015-06-18 14:55:45 -05:00
pcie-designware.c Merge branches 'pci/host-designware', 'pci/host-designware-common', 'pci/host-generic', 'pci/host-imx6', 'pci/host-iproc' and 'pci/host-xgene' into next 2015-06-16 08:19:55 -05:00
pcie-designware.h PCI/MSI: Rename "struct msi_chip" to "struct msi_controller" 2014-11-12 07:49:38 -07:00
pcie-iproc-bcma.c PCI: iproc: Free resource list after registration 2015-05-27 18:34:05 -05:00
pcie-iproc-platform.c PCI: iproc: Free resource list after registration 2015-05-27 18:34:05 -05:00
pcie-iproc.c PCI: iproc: Directly add PCI resources 2015-05-27 18:27:54 -05:00
pcie-iproc.h PCI: iproc: Directly add PCI resources 2015-05-27 18:27:54 -05:00
pcie-rcar.c PCI: rcar: Change PCIEPARL and PCIEPARH to PCIEPALR and PCIEPAUR 2015-02-24 00:24:12 -06:00
pcie-spear13xx.c Mohit Kumar has moved 2015-06-25 17:00:38 -07:00
pcie-xilinx.c ACPI and power management updates for v3.20-rc1 2015-02-10 15:09:41 -08:00