[Bug 2067] New: Algorithm to determine max. PCI bus number is incorrect

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Thu May 31 04:01:17 UTC 2012


             Bug #: 2067
           Summary: Algorithm to determine max. PCI bus number is
    Classification: Unclassified
           Product: RTEMS
           Version: 4.10
          Platform: i386
        OS/Version: RTEMS
            Status: NEW
          Severity: normal
          Priority: P3
         Component: bsps
        AssignedTo: joel.sherrill at oarcorp.com
        ReportedBy: strauman at slac.stanford.edu

Created attachment 1476
  --> https://www.rtems.org/bugzilla/attachment.cgi?id=1476
fix for the reported bug

The algorithm scans all PCI busses (0..ff)
and all devices (0..31) on each bus for bridges
and determines the maximum of all subordinate
busses encountered.

However, the algorithm does not scan all functions
present in multi-function devices -- I have a PCI express
root complex (82801H) where multiple (non-zero index)
functions are 'PCI bridges' whose subordinate bus number is
missed by the original algorithm.

The attached patch makes sure that the scan
is extended to all functions of multi-function

Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the bugs mailing list