[POWERPC] Add support for PCI-Express nodes in the device tree
This adds support to recognize the PCIe device_type "pciex" and made the portdrv buildable. Signed-off-by: Jake Moilanen <moilanen@austin.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:

committed by
Paul Mackerras

parent
0f582bc1f2
commit
bb53bb3dcb
@@ -313,7 +313,9 @@ unsigned long __init find_and_init_phbs(void)
|
||||
for (node = of_get_next_child(root, NULL);
|
||||
node != NULL;
|
||||
node = of_get_next_child(root, node)) {
|
||||
if (node->type == NULL || strcmp(node->type, "pci") != 0)
|
||||
|
||||
if (node->type == NULL || (strcmp(node->type, "pci") != 0 &&
|
||||
strcmp(node->type, "pciex") != 0))
|
||||
continue;
|
||||
|
||||
phb = pcibios_alloc_controller(node);
|
||||
|
Reference in New Issue
Block a user