Browse Source

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>
Aaro Koskinen 9 years ago
parent
commit
e6e5b7b6d0
1 changed files with 2 additions and 0 deletions
  1. 2 0
      arch/mips/pci/pci-octeon.c

+ 2 - 0
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
 	 * Interrupt Number (INTA# = 0, INTB# = 1, INTC# = 2, and
 	 * INTD# = 3)
 	 * INTD# = 3)
 	 */
 	 */
+	if (of_machine_is_compatible("dlink,dsr-500n"))
+		return "CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC";
 	switch (octeon_bootinfo->board_type) {
 	switch (octeon_bootinfo->board_type) {
 	case CVMX_BOARD_TYPE_NAO38:
 	case CVMX_BOARD_TYPE_NAO38:
 		/* This is really the NAC38 */
 		/* This is really the NAC38 */