summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/net/if.c
diff options
context:
space:
mode:
authorTill Strauman <strauman@slac.stanford.edu>2014-12-23 22:27:25 -0500
committerGedare Bloom <gedare@rtems.org>2014-12-23 22:29:24 -0500
commite446d32687ee21037859d31f43a4a5d29db42793 (patch)
tree7433f390e23a55c723282a65a9ac4dc2920b916c /cpukit/libnetworking/net/if.c
parentAvoid buffer overflow and misaligned memory access (diff)
downloadrtems-e446d32687ee21037859d31f43a4a5d29db42793.tar.bz2
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
Diffstat (limited to 'cpukit/libnetworking/net/if.c')
0 files changed, 0 insertions, 0 deletions