Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=0f3e25049e0a54916d0991c1eaa5f8df926c7f92
Commit:     0f3e25049e0a54916d0991c1eaa5f8df926c7f92
Parent:     3996465392fd1632b671707d16bbc96a9481cfe2
Author:     David S. Miller <[EMAIL PROTECTED]>
AuthorDate: Thu Mar 15 21:44:03 2007 -0700
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Thu Apr 26 01:55:35 2007 -0700

    [SPARC64]: Make sure pbm->prom_node is setup easly enough in psycho.c
    
    It needs to be ready before we invoke pci_determine_mem_io_space().
    
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
---
 arch/sparc64/kernel/pci_psycho.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/sparc64/kernel/pci_psycho.c b/arch/sparc64/kernel/pci_psycho.c
index 154c032..3725910 100644
--- a/arch/sparc64/kernel/pci_psycho.c
+++ b/arch/sparc64/kernel/pci_psycho.c
@@ -1107,8 +1107,6 @@ static void psycho_pbm_init(struct pci_controller_info *p,
        if (prop)
                pbm->chip_revision = *(int *) prop->value;
 
-       pci_determine_mem_io_space(pbm);
-
        pbm->parent = p;
        pbm->prom_node = dp;
        pbm->name = dp->full_name;
@@ -1117,6 +1115,8 @@ static void psycho_pbm_init(struct pci_controller_info *p,
               pbm->name,
               pbm->chip_version, pbm->chip_revision);
 
+       pci_determine_mem_io_space(pbm);
+
        prop = of_find_property(dp, "bus-range", NULL);
        busrange = prop->value;
        pbm->pci_first_busno = busrange[0];
-
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