[PATCH] ppc32: 3/2 HDPU platform fix PCI bus 1 enumeration
Eugene Surovegin
ebs at ebshome.net
Fri Mar 18 03:25:09 EST 2005
On Thu, Mar 17, 2005 at 11:11:34AM -0500, Brian Waite wrote:
> Signed-off-by: Brian Waite <waite at skycomputers.com>
> Add the proper bus enumeration code that was missing for bus 1.
>
> ===== linux-2.5/arch/ppc/platforms/hdpu.c 1.2 vs edited =====
> 262a263,273
> > mv64x60_set_bus(&bh, 0, 0);
> > bh.hose_a->first_busno = 0;
> > bh.hose_a->last_busno = 0xff;
> > bh.hose_a->last_busno = pciauto_bus_scan(bh.hose_a, 0);
> >
> > bh.hose_b->first_busno = bh.hose_a->last_busno + 1;
> > mv64x60_set_bus(&bh, 1, bh.hose_b->first_busno);
> > bh.hose_b->last_busno = 0xff;
> > bh.hose_b->last_busno = pciauto_bus_scan(bh.hose_b,
> > bh.hose_b->first_busno);
> >
You probably didn't want to send _context_ diff :).
--
Eugene
More information about the Linuxppc-embedded
mailing list