Re: [PATCH v2 03/15] MIPS: PCI: Compatibility with ARM-like PCI host drivers
From: Florian Fainelli
Date: Tue Mar 08 2016 - 13:38:57 EST
On 03/02/16 03:30, Paul Burton wrote:
> Introduce support for struct hw_pci & the associated pci_common_init_dev
> function as used by the PCI drivers written for ARM platforms under
> drivers/pci. This is in preparation for reusing the xilinx-pcie driver
> on the MIPS Boston board.
> Platforms that make use of this more generic code will need to select
> CONFIG_MIPS_GENERIC_PCI. Platforms which don't will continue to work as
> they have, with the intent that PCI drivers be migrated towards struct
> hw_pci & drivers/pci/ over time.
> Signed-off-by: Paul Burton <paul.burton@xxxxxxxxxx>
Tested-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
FWIW , with a out of tree (for now) PCIE RC driver written with ARM PCI
setup in mind, and this worked like a charm, thanks!