[PATCH 5/6 v2] 85xxCDS: Misc 8548 PCI Corrections.

Zang Roy-r61911 tie-fei.zang at freescale.com
Tue Jul 24 15:35:09 EST 2007


 

> -----Original Message-----
> From: Randy Vinson [mailto:rvinson at mvista.com] 
> Zang Roy-r61911 wrote:
> > On Sat, 2007-07-21 at 06:31, Randy Vinson wrote:
> > 
> >> @@ -272,10 +272,10 @@ static void __init 
> mpc85xx_cds_setup_arch(void)
> >>         for (np = NULL; (np = of_find_node_by_type(np, "pci")) !=
> >> NULL;) {
> >>                 struct resource rsrc;
> >>                 of_address_to_resource(np, 0, &rsrc);
> >> -               if ((rsrc.start & 0xfffff) == 0x9000)
> >> -                       fsl_add_bridge(np, 0);
> >> -               else
> >> +               if ((rsrc.start & 0xfffff) == 0x8000)
> >>                         fsl_add_bridge(np, 1);
> >> +               else
> >> +                       fsl_add_bridge(np, 0);
> > Why this is needed?
> > For pcie at a000, fsl_add_bridge(np, 0)?
> The old version of the code would call fsl_add_bridge(np, 1) for the
> host bridges @8000 and @a000. When I tried it that way, it 
> didn't work
What did not work? I tried two Ethernet cards @8000 and @a000. they
worked..
> I don't think you can have 2 primary bridges.
Why?
They belong to two separate pci domain.
Roy



More information about the Linuxppc-dev mailing list