summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/pci_64.c
diff options
context:
space:
mode:
authorJake Moilanen <moilanen@austin.ibm.com>2006-06-07 16:05:46 -0500
committerPaul Mackerras <paulus@samba.org>2006-06-15 19:31:25 +1000
commitbb53bb3dcb12d79efdee3d82bff46a204af377f3 (patch)
tree3bbe796265817fdf461a5caa0ad6253445460309 /arch/powerpc/kernel/pci_64.c
parent0f582bc1f2cccacd613c411fbea55873d17c3429 (diff)
downloadtalos-obmc-linux-bb53bb3dcb12d79efdee3d82bff46a204af377f3.tar.gz
talos-obmc-linux-bb53bb3dcb12d79efdee3d82bff46a204af377f3.zip
[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.c2
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,
dev->current_state = 4; /* unknown power state */
- if (!strcmp(type, "pci")) {
+ if (!strcmp(type, "pci") || !strcmp(type, "pciex")) {
/* a PCI-PCI bridge */
dev->hdr_type = PCI_HEADER_TYPE_BRIDGE;
dev->rom_base_reg = PCI_ROM_ADDRESS1;
OpenPOWER on IntegriCloud