alistair23-linux/arch/powerpc
Benjamin Herrenschmidt 41550c5128 [POWERPC] Don't get PCI IRQ from OF for devices with no IRQ
This patch adds checking of the PCI_INTERRUPT_PIN register before
using standard OF parsing to retreive PCI interrupts. The reason is
that some PCI devices may have no PCI interrupt, though they may have
interrupts attached via other means. In this case, we shall not use
irq->pdev, but device-specific code can later retreive those interrupts
instead.

Without that patch, Maple and derivatives don't get the right interrupt
for the second IDE channel as the linux IDE code fallsback to the PCI
irq instead of trying to use the legacy ones for the on-board controller
(which has no PCI_INTERRUPT_PIN). Having no PCI IRQ assign to it (as it
doesn't request any) fixes it.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-10-06 21:10:41 +10:00
..
boot [POWERPC] Fix zImage decompress location 2006-10-06 21:10:41 +10:00
configs [POWERPC] Update cell_defconfig 2006-10-05 09:21:02 +10:00
kernel [POWERPC] Don't get PCI IRQ from OF for devices with no IRQ 2006-10-06 21:10:41 +10:00
lib [POWERPC] Fix rheap alignment problem 2006-10-02 20:27:47 +10:00
math-emu [POWERPC] ppc math-emu needs -fno-builtin-fabs for math.c and fabs.c 2006-09-26 15:24:35 +10:00
mm Merge branch 'master' of git://oak/home/sfr/kernels/iseries/work 2006-10-04 15:02:27 +10:00
oprofile fix file specification in comments 2006-10-03 23:01:26 +02:00
platforms [POWERPC] linux,tce-size property is 32 bits 2006-10-06 21:10:41 +10:00
sysdev [PATCH] powerpc: irq change build breaks 2006-10-05 18:39:04 -07:00
xmon IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
Kconfig Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc 2006-10-04 08:16:37 -07:00
Kconfig.debug [POWERPC] print backtrace when entering xmon 2006-09-13 18:39:53 +10:00
Makefile [POWERPC] Create a "wrapper" script and use it in arch/powerpc/boot 2006-09-28 14:30:02 +10:00