author | David S. Miller
<davem@davemloft.net> 2008-09-22 22:42:24 UTC |
committer | David S. Miller
<davem@davemloft.net> 2008-09-22 22:51:54 UTC |
parent | 7ee766d8fba9dfd93bf3eca7a8d84a25404a68dc |
arch/sparc64/kernel/pci.c | +1 | -1 |
diff --git a/arch/sparc64/kernel/pci.c b/arch/sparc64/kernel/pci.c index 55096195458..80dad76f8b8 100644 --- a/arch/sparc64/kernel/pci.c +++ b/arch/sparc64/kernel/pci.c @@ -425,7 +425,7 @@ struct pci_dev *of_create_pci_dev(struct pci_pbm_info *pbm, dev->current_state = 4; /* unknown power state */ dev->error_state = pci_channel_io_normal; - if (!strcmp(type, "pci") || !strcmp(type, "pciex")) { + if (!strcmp(node->name, "pci")) { /* a PCI-PCI bridge */ dev->hdr_type = PCI_HEADER_TYPE_BRIDGE; dev->rom_base_reg = PCI_ROM_ADDRESS1;