MIPS: ath79: add PCI IRQ handling code for AR724X SoCs
authorGabor Juhos <juhosg@openwrt.org>
Wed, 14 Mar 2012 09:36:07 +0000 (10:36 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 15 May 2012 15:49:04 +0000 (17:49 +0200)
commit4c07c7dfa0f3575dc3276c544349fbf181381167
tree4b39750ce1284ec0032b21508fa56a8201a7dea1
parent93ef85b5598ad2cc23f38d97ed565027b969c0aa
MIPS: ath79: add PCI IRQ handling code for AR724X SoCs

The PCI Host Controller of the AR724x SoC has a
built-in IRQ controller. The current code does
not supports that, so the IRQ lines wired to this
controller are not usable. This leads to failed
'request_irq' calls:

  ath9k 0000:00:00.0: request_irq failed
  ath9k: probe of 0000:00:00.0 failed with error -89

This patch adds support for the IRQ controller
in order to make PCI IRQs work.

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