[RTEMS Project] #2067: Algorithm to determine max. PCI bus number is incorrect
RTEMS trac
trac at rtems.org
Wed Dec 24 03:29:57 UTC 2014
#2067: Algorithm to determine max. PCI bus number is incorrect
----------------------+----------------------------
Reporter: strauman | Owner: joel.sherrill
Type: defect | Status: new
Priority: highest | Milestone: 4.11
Component: bsps | Version: 4.10
Severity: normal | Resolution:
Keywords: |
----------------------+----------------------------
Comment (by Till Strauman <strauman@…>):
In [changeset:"e446d32687ee21037859d31f43a4a5d29db42793/rtems"]:
{{{
#!CommitTicketReference repository="rtems"
revision="e446d32687ee21037859d31f43a4a5d29db42793"
pc386: scan all functions of multi-function PCI devices
The current 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.
This commit makes sure that the scan
is extended to all functions of multi-function
devices.
See #2067
}}}
--
Ticket URL: <http://devel.rtems.org/ticket/2067#comment:3>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list