[PATCH 3/5] Float the pci bus number on MPC8641HPCN board.

Zhang Wei-r63237 Wei.Zhang at freescale.com
Fri Jun 1 16:29:10 EST 2007


Hi, Kumar, 

> 
> On May 31, 2007, at 9:01 PM, Zhang Wei-r63237 wrote:
> 
> > Hi, Kumar,
> >
> >>
> >> Can this be fixed by just setting hose->bus_offset in add_bridge?
> >>
> >> Doing this in exclude is very bad.
> >
> > That's my original doing. If there a PCI bridge card be 
> pluged into  
> > PCI
> > slot of hose0, I can not ensue the bus_offset number of hose1.
> 
> Ok, but can't we use hose0's last_busno and use that set hose1- 
>  >first_busno & hose1->bus_offset?

When in add_bridge(), the pci bus scan is not start, so we do not know
hose0's last_busno.

Thanks!
Wei.



More information about the Linuxppc-dev mailing list