[PATCH v4 0/2]PCI: cadence: Convert drivers to core library

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch series intend to refactor the cadence pcie host and endpoint
driver files as a library, such that this can be used by other platform
drivers. A new directory 'cadence' is created to group all the cadence
derivatives.

v4:
- Updated commit title for [PATCH 2/2] as adviced by Andrew

v3:
- Commit logs rephrased and corrected as suggested by Andrew and Kishon
- Created a new folder 'cadence', as suggested by Kishon.
- Removed few unwanted codes, as pointed out by review comments

Tom Joseph (2):
  PCI: cadence: Refactor driver to use as a core library
  PCI: cadence: Move all files to per-device cadence directory

 drivers/pci/controller/Kconfig                     |  29 +---
 drivers/pci/controller/Makefile                    |   4 +-
 drivers/pci/controller/cadence/Kconfig             |  45 ++++++
 drivers/pci/controller/cadence/Makefile            |   5 +
 .../pci/controller/{ => cadence}/pcie-cadence-ep.c |  96 +-----------
 .../controller/{ => cadence}/pcie-cadence-host.c   |  95 +----------
 drivers/pci/controller/cadence/pcie-cadence-plat.c | 174 +++++++++++++++++++++
 .../pci/controller/{ => cadence}/pcie-cadence.c    |   0
 .../pci/controller/{ => cadence}/pcie-cadence.h    |  77 +++++++++
 9 files changed, 315 insertions(+), 210 deletions(-)
 create mode 100644 drivers/pci/controller/cadence/Kconfig
 create mode 100644 drivers/pci/controller/cadence/Makefile
 rename drivers/pci/controller/{ => cadence}/pcie-cadence-ep.c (83%)
 rename drivers/pci/controller/{ => cadence}/pcie-cadence-host.c (76%)
 create mode 100644 drivers/pci/controller/cadence/pcie-cadence-plat.c
 rename drivers/pci/controller/{ => cadence}/pcie-cadence.c (100%)
 rename drivers/pci/controller/{ => cadence}/pcie-cadence.h (82%)

-- 
2.2.2




[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux