]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
powerpc: Fix IRQ assignment for some PCIe devices
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Wed, 19 Nov 2008 03:55:35 +0000 (03:55 +0000)
committerPaul Mackerras <paulus@samba.org>
Sun, 30 Nov 2008 22:40:18 +0000 (09:40 +1100)
commit4b824de9b18b8d1013e9fc9e4b0f855ced8cac2c
tree8f09d7d8d9dd534e2987146fe39ec49537bf1a39
parent3f9b5d4dda6d85aab33fef32e8351ddc34c81fb4
powerpc: Fix IRQ assignment for some PCIe devices

Currently, some PCIe devices on POWER6 machines do not get interrupts
assigned correctly.  The problem is that OF doesn't create an
"interrupt" property for them.  The fix is for of_irq_map_pci to fall
back to using the value in the PCI interrupt-pin register in config
space, as we do when there is no OF device-tree node for the device.

I have verified that this works fine with a pair of Squib-E SAS
adapter on a P6-570.

Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/prom_parse.c