[PATCH 02/12][v4] pci: fsl: add structure fsl_pci
scottwood at freescale.com
Thu Jan 9 08:58:08 EST 2014
On Wed, 2014-01-08 at 13:01 +0800, Minghuan Lian wrote:
> PowerPC uses structure pci_controller to describe PCI controller,
> but ARM uses structure pci_sys_data. In order to support PowerPC
> and ARM simultaneously, the patch adds a structure fsl_pci that
> contains most of the members of the pci_controller and pci_sys_data.
> Meanwhile, it defines a interface fsl_arch_sys_to_pci() which should
> be implemented in architecture-specific PCI controller driver to
> convert pci_controller or pci_sys_data to fsl_pci.
> Signed-off-by: Minghuan Lian <Minghuan.Lian at freescale.com>
> change log:
> Added indirect type macro
> Derived from http://patchwork.ozlabs.org/patch/278965/
> Based on upstream master.
> Based on the discussion of RFC version here
> include/linux/fsl/pci-common.h | 48 ++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 48 insertions(+)
Same comments on this patchset as last time.
More information about the Linuxppc-dev