]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pci: Fix PCI<->OF matching of old style multifunc devices
authorTom Arbuckle <tom.d.arbuckle@gmail.com>
Wed, 11 Feb 2009 10:41:48 +0000 (10:41 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sun, 22 Feb 2009 23:48:57 +0000 (10:48 +1100)
commit8a633789dacb7ab0a4d7ddbe363c73f5005b4459
tree2431bff1643e0105985fd00bc68ddea428782cd7
parentea659a2b99665a95ac518e370dcd5f1ae528d200
powerpc/pci: Fix PCI<->OF matching of old style multifunc devices

Old OF variants used to create a 'dummy' parent node "multifunc-device"
for devices with more than one PCI function. Our code that matches OF
nodes to PCI devices dealt with that in one place but not in another,
this fixes it.

This has the practical effect of fixing interrupt routing of multifunction
PCI cards on some older PowerMac machines.

Signed-off-by: Tom Arbuckle <tom.d.arbuckle@gmail.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/pci_32.c