]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: ath79: separate common PCI code
authorGabor Juhos <juhosg@openwrt.org>
Wed, 14 Mar 2012 09:29:21 +0000 (10:29 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 27 Apr 2012 13:40:46 +0000 (14:40 +0100)
commit13458600113b4efdcb157500bbc4c7f9069af0ed
treebb9a077e26041bbe47976ce8bfc988f0e27184f8
parent273086a39d2391864d4e6fb3673f744288b719b9
MIPS: ath79: separate common PCI code

The 'pcibios_map_irq' and 'pcibios_plat_dev_init'
are common functions and only instance one of them
can be present in a single kernel.

Currently these functions can be built only if the
CONFIG_SOC_AR724X option is selected. However the
ath79 platform contain support for the AR71XX SoCs,.
The AR71XX SoCs have a differnet PCI controller,
and those will require a different code.

Move the common PCI code into a separeate file in
order to be able to use that with other SoCs as
well.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Acked-by: René Bolldorf <xsecute@googlemail.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3485/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/ath79/Makefile
arch/mips/ath79/pci.c [new file with mode: 0644]
arch/mips/pci/pci-ath724x.c