summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/configs
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2006-10-05 16:40:41 +1000
committerPaul Mackerras <paulus@samba.org>2006-10-06 21:10:41 +1000
commit41550c5128150175197257b6ceab2cd50dea7b51 (patch)
tree9406c5680e5e7fd49804fe95104453b272533f28 /arch/powerpc/configs
parentc998de146061db17787c1a31a3db1989f1341fdf (diff)
downloadblackbird-op-linux-41550c5128150175197257b6ceab2cd50dea7b51.tar.gz
blackbird-op-linux-41550c5128150175197257b6ceab2cd50dea7b51.zip
[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>
Diffstat (limited to 'arch/powerpc/configs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud