]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/commit
MIPS: ath79: fix a wrong IRQ number
authorGabor Juhos <juhosg@openwrt.org>
Wed, 14 Mar 2012 09:36:06 +0000 (10:36 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 15 May 2012 15:49:03 +0000 (17:49 +0200)
commit93ef85b5598ad2cc23f38d97ed565027b969c0aa
treed8d0744cd0f50d5b753396196bc0329fac211966
parent6015a856f16ccf33e9f83643d04c2e15be2384eb
MIPS: ath79: fix a wrong IRQ number

The Ubiquiti XM board setup code uses an invalid
IRQ number, because it if above of NR_IRQS. This
leads to failed 'request_irq' calls:

  ath9k 0000:00:00.0: request_irq failed
  ath9k: probe of 0000:00:00.0 failed with error -22

Preserve some IRQ numbers for the built-in IRQ
controller of PCI host controllers in the
AR71XX/AR724X SoCs, and use the correct IRQ
number in the board setup code.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3495/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/ath79/mach-ubnt-xm.c
arch/mips/include/asm/mach-ath79/irq.h