Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=17877116c6b0fa78501526e7ec03cabe967a3a72
Commit:     17877116c6b0fa78501526e7ec03cabe967a3a72
Parent:     2c1d2f34a03ef0a89ff57da18b52fda9e6f09a10
Author:     Nathan Lynch <[EMAIL PROTECTED]>
AuthorDate: Wed Dec 6 18:50:43 2006 -0600
Committer:  Paul Mackerras <[EMAIL PROTECTED]>
CommitDate: Fri Dec 8 17:10:22 2006 +1100

    [POWERPC] maple: Match "pcie" name for CPC945
    
    Some firmwares have "pcie" for the "name" property of the CPC945 PCI
    Express host bridge.  Check for "pcie" in addition to "pci" so we
    don't miss it.
    
    Signed-off-by: Nathan Lynch <[EMAIL PROTECTED]>
    Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>
---
 arch/powerpc/platforms/maple/pci.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/powerpc/platforms/maple/pci.c 
b/arch/powerpc/platforms/maple/pci.c
index 3a32ded..3f6a69f 100644
--- a/arch/powerpc/platforms/maple/pci.c
+++ b/arch/powerpc/platforms/maple/pci.c
@@ -562,7 +562,7 @@ void __init maple_pci_init(void)
        for (np = NULL; (np = of_get_next_child(root, np)) != NULL;) {
                if (np->name == NULL)
                        continue;
-               if (strcmp(np->name, "pci") == 0) {
+               if (!strcmp(np->name, "pci") || !strcmp(np->name, "pcie")) {
                        if (add_bridge(np) == 0)
                                of_node_get(np);
                }
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to