]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Netlogic: Avoid using fixed PIC IRT index
authorJayachandran C <jchandra@broadcom.com>
Sat, 23 Mar 2013 17:27:56 +0000 (17:27 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 7 May 2013 23:19:04 +0000 (01:19 +0200)
commitf8c9a1caf38e6d819c30b44104818b5c80e55e9c
tree037e19370c2dfdc52bf4220c4ca5d718adfef4c9
parent0316f9cf69814787dc7d3b06f39084373f2d2703
MIPS: Netlogic: Avoid using fixed PIC IRT index

The index for a device interrupt in the PIC interrupt routing table
changes for different chips in the XLP family.  Avoid using the fixed
entries and derive the index value from the SoC device header.

Add workarounds for some devices which do not report the IRT index
correctly.

Signed-off-by: Jayachandran C <jchandra@broadcom.com>
Patchwork: http://patchwork.linux-mips.org/patch/5025/
Acked-by: John Crispin <blogic@openwrt.org>
arch/mips/include/asm/netlogic/xlp-hal/pic.h
arch/mips/netlogic/xlp/nlm_hal.c