diff options
author | Chandrakala Chavva <cchavva@caviumnetworks.com> | 2010-07-26 21:14:16 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-08-05 08:26:27 -0400 |
commit | 52a0f00b50ea360e3cf7e3281523c6a8aafc5761 (patch) | |
tree | 5824f0ebbb4986f1171574dabe6ee2b849f72f9a /arch/mips/include/asm | |
parent | 1aa2b2782a056b9bb0a19fae5a04624d8dcd8379 (diff) |
MIPS: Octeon: Disallow MSI-X interrupt and fall back to MSI interrupts.
MSI-X interrupts are not supported yet for Octeon, return error if
MSI-X interrupts are requested by driver so that the driver will fall
back to use MSI interrupts.
Signed-off-by: Chandrakala Chavva <cchavva@caviumnetworks.com>
To: linux-mips@linux-mips.org
Cc: David Daney <ddaney@caviumnetworks.com>
Patchwork: https://patchwork.linux-mips.org/patch/1506/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Diffstat (limited to 'arch/mips/include/asm')
-rw-r--r-- | arch/mips/include/asm/pci.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/mips/include/asm/pci.h b/arch/mips/include/asm/pci.h index 3beea1479b43..576397c69920 100644 --- a/arch/mips/include/asm/pci.h +++ b/arch/mips/include/asm/pci.h | |||
@@ -140,6 +140,11 @@ static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel) | |||
140 | return channel ? 15 : 14; | 140 | return channel ? 15 : 14; |
141 | } | 141 | } |
142 | 142 | ||
143 | #ifdef CONFIG_CPU_CAVIUM_OCTEON | ||
144 | /* MSI arch hook for OCTEON */ | ||
145 | #define arch_setup_msi_irqs arch_setup_msi_irqs | ||
146 | #endif | ||
147 | |||
143 | extern int pci_probe_only; | 148 | extern int pci_probe_only; |
144 | 149 | ||
145 | extern char * (*pcibios_plat_setup)(char *str); | 150 | extern char * (*pcibios_plat_setup)(char *str); |