diff options
author | Aaro Koskinen <aaro.koskinen@iki.fi> | 2016-09-12 23:39:10 +0300 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2016-10-04 16:13:57 +0200 |
commit | e6e5b7b6d0de7e2c25b45fc7a0c914ed6aa1d5e8 (patch) | |
tree | fefff5edab6e7f551d493c1e64292cd0e5ccf254 /arch/mips/pci | |
parent | 6fcdc71735a5537931f3155e86540c47df18b9f3 (diff) | |
download | op-kernel-dev-e6e5b7b6d0de7e2c25b45fc7a0c914ed6aa1d5e8.zip op-kernel-dev-e6e5b7b6d0de7e2c25b45fc7a0c914ed6aa1d5e8.tar.gz |
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>
Diffstat (limited to 'arch/mips/pci')
-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 c258cd4..308d051 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) * Interrupt Number (INTA# = 0, INTB# = 1, INTC# = 2, and * INTD# = 3) */ + if (of_machine_is_compatible("dlink,dsr-500n")) + return "CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC"; switch (octeon_bootinfo->board_type) { case CVMX_BOARD_TYPE_NAO38: /* This is really the NAC38 */ |