]> 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)
commit42c15a636b60515b36819271075b6852b5e0509a
tree2d89386107ad0b7158082d5c239764dac0e9db38
parent230be165af5e4338ddbb50febe1edad30fdcdf8a
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