]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: ath79: allow to use SoC specific PCI IRQ maps
authorGabor Juhos <juhosg@openwrt.org>
Wed, 14 Mar 2012 09:36:11 +0000 (10:36 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 27 Apr 2012 13:41:36 +0000 (14:41 +0100)
commitc320cf823d77587a531a4f335da977cba14d5ef2
tree6cc76f20fae9d6d5cbcbd80351194e9322b5b772
parentc1f81bb7867ee34c301f6f7fdaf2b0b3685d0c38
MIPS: ath79: allow to use SoC specific PCI IRQ maps

The PCI controllers in the AR71XX and in the
AR724X SoCs are different, and both of them
uses different IRQ wiring.

The patch modifies the 'pcibios_map_irq' function
in order to allow to use different IRQ maps for
the different SoCs. The patch also adds a function,
which lets the board setup code to override the
default IRQ map.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3500/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/ath79/pci.c
arch/mips/ath79/pci.h