]> git.baikalelectronics.ru Git - kernel.git/commit
bcma: mips: explicit assign IRQ numbers
authorHauke Mehrtens <hauke@hauke-m.de>
Thu, 3 Jan 2013 23:51:21 +0000 (00:51 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 7 Jan 2013 20:18:28 +0000 (15:18 -0500)
commit1ef9ee3666142086fc1088bcb686449f2298f145
tree2d89386107ad0b7158082d5c239764dac0e9db38
parent09aaa1d5cfd31dfdae99a67ca685ab87197e54ae
bcma: mips: explicit assign IRQ numbers

The assignment of the IRQs to the cores of the chips by iterating over
the cores is complicated and causes problems with SoC like the BCM4706
with two GMAC core where just one should get a dedicated IRQ number.
Now the code assigns the same IRQs to the cores as the code from the
Broadcom SDK does. If the SoC is not know the current assigned IRQs are
only read out and an error message is printed.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/bcma/driver_mips.c