diff options
author | Jake Moilanen <moilanen@austin.ibm.com> | 2006-06-07 17:05:46 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-06-15 05:31:25 -0400 |
commit | bb53bb3dcb12d79efdee3d82bff46a204af377f3 (patch) | |
tree | 3bbe796265817fdf461a5caa0ad6253445460309 /arch/powerpc/kernel/rtas_pci.c | |
parent | 0f582bc1f2cccacd613c411fbea55873d17c3429 (diff) |
[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>
Diffstat (limited to 'arch/powerpc/kernel/rtas_pci.c')
-rw-r--r-- | arch/powerpc/kernel/rtas_pci.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/rtas_pci.c b/arch/powerpc/kernel/rtas_pci.c index 57b539a03fa9..6eb7e49b394a 100644 --- a/arch/powerpc/kernel/rtas_pci.c +++ b/arch/powerpc/kernel/rtas_pci.c | |||
@@ -313,7 +313,9 @@ unsigned long __init find_and_init_phbs(void) | |||
313 | for (node = of_get_next_child(root, NULL); | 313 | for (node = of_get_next_child(root, NULL); |
314 | node != NULL; | 314 | node != NULL; |
315 | node = of_get_next_child(root, node)) { | 315 | node = of_get_next_child(root, node)) { |
316 | if (node->type == NULL || strcmp(node->type, "pci") != 0) | 316 | |
317 | if (node->type == NULL || (strcmp(node->type, "pci") != 0 && | ||
318 | strcmp(node->type, "pciex") != 0)) | ||
317 | continue; | 319 | continue; |
318 | 320 | ||
319 | phb = pcibios_alloc_controller(node); | 321 | phb = pcibios_alloc_controller(node); |