Re: [PATCH v2] PCI: add a new directory for designware core

From: Jingoo Han
Date: Wed Jan 04 2017 - 12:56:40 EST


On Wednesday, January 4, 2017 7:08 AM, Kishon Vijay Abraham I wrote:
>
> Group all the PCI drivers that use designware core in dwc directory.
> dwc IP is capable of operating in both host mode and device mode and
> keeping it inside the *host* directory is misleading.
>
> Signed-off-by: Kishon Vijay Abraham I <kishon@xxxxxx>

Acked-by: Jingoo Han <jingoohan1@xxxxxxxxx>

Best regards,
Jingoo Han

> ---
> Changes from v1:
> *) instead of renaming *host* directory to *controller* directory,
> move all the dwc drivers to dwc/ directory.
> Next Steps:
> Split pcie-designware.c to core, host-only and endpoint-only files.
>
> drivers/pci/Kconfig | 1 +
> drivers/pci/Makefile | 3 +
> drivers/pci/dwc/Kconfig | 108
+++++++++++++++++++++
> drivers/pci/dwc/Makefile | 23 +++++
> drivers/pci/{host => dwc}/pci-dra7xx.c | 0
> drivers/pci/{host => dwc}/pci-exynos.c | 0
> drivers/pci/{host => dwc}/pci-imx6.c | 0
> drivers/pci/{host => dwc}/pci-keystone-dw.c | 0
> drivers/pci/{host => dwc}/pci-keystone.c | 0
> drivers/pci/{host => dwc}/pci-layerscape.c | 0
> drivers/pci/{host => dwc}/pcie-armada8k.c | 0
> drivers/pci/{host => dwc}/pcie-artpec6.c | 0
> drivers/pci/{host => dwc}/pcie-designware-plat.c | 0
> drivers/pci/{host => dwc}/pcie-designware.c | 0
> drivers/pci/{host => dwc}/pcie-designware.h | 0
> drivers/pci/{host => dwc}/pcie-hisi.c | 0
> drivers/pci/{host => dwc}/pcie-qcom.c | 0
> drivers/pci/{host => dwc}/pcie-spear13xx.c | 0
> drivers/pci/host/Kconfig | 113
----------------------
> drivers/pci/host/Makefile | 12 ---
> 20 files changed, 135 insertions(+), 125 deletions(-)
> create mode 100644 drivers/pci/dwc/Kconfig
> create mode 100644 drivers/pci/dwc/Makefile
> rename drivers/pci/{host => dwc}/pci-dra7xx.c (100%)
> rename drivers/pci/{host => dwc}/pci-exynos.c (100%)
> rename drivers/pci/{host => dwc}/pci-imx6.c (100%)
> rename drivers/pci/{host => dwc}/pci-keystone-dw.c (100%)
> rename drivers/pci/{host => dwc}/pci-keystone.c (100%)
> rename drivers/pci/{host => dwc}/pci-layerscape.c (100%)
> rename drivers/pci/{host => dwc}/pcie-armada8k.c (100%)
> rename drivers/pci/{host => dwc}/pcie-artpec6.c (100%)
> rename drivers/pci/{host => dwc}/pcie-designware-plat.c (100%)
> rename drivers/pci/{host => dwc}/pcie-designware.c (100%)
> rename drivers/pci/{host => dwc}/pcie-designware.h (100%)
> rename drivers/pci/{host => dwc}/pcie-hisi.c (100%)
> rename drivers/pci/{host => dwc}/pcie-qcom.c (100%)
> rename drivers/pci/{host => dwc}/pcie-spear13xx.c (100%)
>