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/pci_64.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/pci_64.c')
-rw-r--r-- | arch/powerpc/kernel/pci_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/pci_64.c b/arch/powerpc/kernel/pci_64.c index 30a4e6a1368a..74dc76653e1b 100644 --- a/arch/powerpc/kernel/pci_64.c +++ b/arch/powerpc/kernel/pci_64.c | |||
@@ -388,7 +388,7 @@ struct pci_dev *of_create_pci_dev(struct device_node *node, | |||
388 | 388 | ||
389 | dev->current_state = 4; /* unknown power state */ | 389 | dev->current_state = 4; /* unknown power state */ |
390 | 390 | ||
391 | if (!strcmp(type, "pci")) { | 391 | if (!strcmp(type, "pci") || !strcmp(type, "pciex")) { |
392 | /* a PCI-PCI bridge */ | 392 | /* a PCI-PCI bridge */ |
393 | dev->hdr_type = PCI_HEADER_TYPE_BRIDGE; | 393 | dev->hdr_type = PCI_HEADER_TYPE_BRIDGE; |
394 | dev->rom_base_reg = PCI_ROM_ADDRESS1; | 394 | dev->rom_base_reg = PCI_ROM_ADDRESS1; |