From: Benjamin Herrenschmidt Date: Thu, 29 Sep 2011 05:57:01 +0000 (+1000) Subject: powerpc: Fix device-tree matching for Apple U4 bridge X-Git-Tag: v3.1-rc9~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16fa42affd484bb500533a7e78e0c72687eddd58;p=pandora-kernel.git powerpc: Fix device-tree matching for Apple U4 bridge Apple Quad G5 has some oddity in it's device-tree which causes the new generic matching code to fail to relate nodes for PCI-E devices below U4 with their respective struct pci_dev. This breaks graphics on those machines among others. This fixes it using a quirk which copies the node pointer from the host bridge for the root complex, which makes the generic code work for the children afterward. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed