Commit 0f3e2504 authored by David S. Miller's avatar David S. Miller

[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: default avatarDavid S. Miller <davem@davemloft.net>
parent 39964653
......@@ -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];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment