diff options
author | Aaro Koskinen <aaro.koskinen@iki.fi> | 2016-09-12 16:39:10 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2016-10-04 10:13:57 -0400 |
commit | e6e5b7b6d0de7e2c25b45fc7a0c914ed6aa1d5e8 (patch) | |
tree | fefff5edab6e7f551d493c1e64292cd0e5ccf254 | |
parent | 6fcdc71735a5537931f3155e86540c47df18b9f3 (diff) |
MIPS: Octeon: Fix PCI interrupt routing on D-Link DSR-500N.
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Cc: devicetree@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/14250/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r-- | arch/mips/pci/pci-octeon.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/pci/pci-octeon.c b/arch/mips/pci/pci-octeon.c index c258cd406fbb..308d051fc45c 100644 --- a/arch/mips/pci/pci-octeon.c +++ b/arch/mips/pci/pci-octeon.c | |||
@@ -204,6 +204,8 @@ const char *octeon_get_pci_interrupts(void) | |||
204 | * Interrupt Number (INTA# = 0, INTB# = 1, INTC# = 2, and | 204 | * Interrupt Number (INTA# = 0, INTB# = 1, INTC# = 2, and |
205 | * INTD# = 3) | 205 | * INTD# = 3) |
206 | */ | 206 | */ |
207 | if (of_machine_is_compatible("dlink,dsr-500n")) | ||
208 | return "CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC"; | ||
207 | switch (octeon_bootinfo->board_type) { | 209 | switch (octeon_bootinfo->board_type) { |
208 | case CVMX_BOARD_TYPE_NAO38: | 210 | case CVMX_BOARD_TYPE_NAO38: |
209 | /* This is really the NAC38 */ | 211 | /* This is really the NAC38 */ |