[U-Boot-Users] Patch: Fix sibling P2P bridge auto-enumeration

u-boot'ers:
I believe I found a defect in the processing of sibling pci to pci bridges in the pci auto enumeration.
The problem: 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).
The fix: 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.
CHANGELOG Entry: Travis Sawyer, 20Jan2004 Fix pci bridge auto enumeration of sibling p2p bridges.
-travis sawyer
participants (1)
-
Travis Sawyer