[U-Boot-Users] Patch: Fix sibling P2P bridge auto-enumeration
tsawyer+u-boot at sandburst.com
Tue Jan 20 20:15:54 CET 2004
I believe I found a defect in the processing of sibling pci to pci
bridges in the pci auto enumeration.
In the case of sibling p2p bridges the secondary bus number of an
subsequent bridges is the same as the first bridge on the bus. As such,
the subordinate bus number is also incorrect, and the parent bridge does
not get the appropriate setting (deepest bridge sub bus number).
Instead of using sub_bus, use hose->current_busno. USE the return value
of pci_hose_scan_bus to figure out the appropriate setting for the
subordinate bus number, and pass that to pciauto_postscan_setup_bridge.
Enclosed please find the patch.
Travis Sawyer, 20Jan2004
Fix pci bridge auto enumeration of sibling p2p bridges.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 814 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20040120/a7a54d24/attachment.bin
More information about the U-Boot