[PATCH] ppc32: 3/2 HDPU platform fix PCI bus 1 enumeration
Brian Waite
waite at skycomputers.com
Fri Mar 18 03:11:34 EST 2005
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);
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20050317/64e65abd/attachment.pgp
More information about the Linuxppc-embedded
mailing list