diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-03-14 05:36:07 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2012-05-15 11:49:04 -0400 |
commit | 4c07c7dfa0f3575dc3276c544349fbf181381167 (patch) | |
tree | 4b39750ce1284ec0032b21508fa56a8201a7dea1 /arch/mips/include/asm/mach-ath79 | |
parent | 93ef85b5598ad2cc23f38d97ed565027b969c0aa (diff) |
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>
Diffstat (limited to 'arch/mips/include/asm/mach-ath79')
-rw-r--r-- | arch/mips/include/asm/mach-ath79/pci.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/include/asm/mach-ath79/pci.h b/arch/mips/include/asm/mach-ath79/pci.h index 6d7a837e6055..2eb01815d54e 100644 --- a/arch/mips/include/asm/mach-ath79/pci.h +++ b/arch/mips/include/asm/mach-ath79/pci.h | |||
@@ -12,9 +12,9 @@ | |||
12 | #define __ASM_MACH_ATH79_PCI_H | 12 | #define __ASM_MACH_ATH79_PCI_H |
13 | 13 | ||
14 | #if defined(CONFIG_PCI) && defined(CONFIG_SOC_AR724X) | 14 | #if defined(CONFIG_PCI) && defined(CONFIG_SOC_AR724X) |
15 | int ar724x_pcibios_init(void); | 15 | int ar724x_pcibios_init(int irq); |
16 | #else | 16 | #else |
17 | static inline int ar724x_pcibios_init(void) { return 0; } | 17 | static inline int ar724x_pcibios_init(int irq) { return 0; } |
18 | #endif | 18 | #endif |
19 | 19 | ||
20 | #endif /* __ASM_MACH_ATH79_PCI_H */ | 20 | #endif /* __ASM_MACH_ATH79_PCI_H */ |