linux/drivers/pci/host
Phil Edworthy 79953dd22c PCI: rcar: Remove dependency on ARM-specific struct hw_pci
The R-Car PCIe 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.

Based on 499733e0cc ("PCI: generic: Remove dependency on ARM-specific
struct hw_pci").

Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
2015-10-30 08:23:15 -05:00
..
Kconfig PCI: rcar: Build pcie-rcar.c only on ARM 2015-10-30 08:22:31 -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 Merge branches 'pci/host-dra7xx', 'pci/host-imx6' and 'pci/host-spear' into next 2015-08-24 14:15:05 -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 PCI: imx6: Simplify a trivial if-return sequence 2015-08-20 01:31:58 -05:00
pci-keystone-dw.c Merge branch 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2015-09-01 14:33:35 -07:00
pci-keystone.c PCI/keystone: Prepare irq handlers for irq argument removal 2015-07-16 23:31:37 +02: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: Drop references acquired by of_parse_phandle() 2015-08-20 12:02:50 -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: Kill off set_irq_flags() usage 2015-08-11 15:17:43 -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 Merge branch 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2015-09-01 14:33:35 -07:00
pci-xgene.c Merge branches 'pci/enumeration' and 'pci/misc' into next 2015-08-28 15:53:08 -05:00
pcie-designware.c Merge branch 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2015-09-01 14:33:35 -07: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: enable arm64 support for iProc PCIe 2015-07-29 22:07:02 +02:00
pcie-iproc.h PCI: iproc: enable arm64 support for iProc PCIe 2015-07-29 22:07:02 +02:00
pcie-rcar.c PCI: rcar: Remove dependency on ARM-specific struct hw_pci 2015-10-30 08:23:15 -05:00
pcie-spear13xx.c PCI: spear: Use BUG_ON() instead of condition followed by BUG() 2015-08-20 01:31:24 -05:00
pcie-xilinx.c Merge branch 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2015-09-01 14:33:35 -07:00