From: David S. Miller Date: Mon, 22 Sep 2008 22:42:24 +0000 (-0700) Subject: sparc64: Fix missing devices due to PCI bridge test in of_create_pci_dev(). X-Git-Tag: v2.6.27-rc8~34^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44b50e5a1af13c605d6c3b17a60e42eb0ee48d5f;p=pandora-kernel.git sparc64: Fix missing devices due to PCI bridge test in of_create_pci_dev(). Just like in the arch/sparc64/kernel/of_device.c code fix commit 071d7f4c3b411beae08d27656e958070c43b78b4 ("sparc64: Fix SMP bootup with CONFIG_STACK_DEBUG or ftrace.") we have to check the OF device node name for "pci" instead of relying upon the 'device_type' property being there on all PCI bridges. Tested by Meelis Roos, and confirmed to make the PCI QFE devices reappear on the E3500 system. Signed-off-by: David S. Miller --- Reading git-diff-tree failed