diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2009-01-14 20:04:25 +0300 |
---|---|---|
committer | Jesse Barnes <jbarnes@hobbes.lan> | 2009-03-20 05:29:18 +0300 |
commit | 600914ba524130583fa5acdd00df4aa7aa44b173 (patch) | |
tree | 41278d33d5eaf7832f181fb1b9546875bc1f19a1 /COPYING | |
parent | a1e4ee22863d41a6fbb24310d7951836cb6dafe7 (diff) | |
download | linux-600914ba524130583fa5acdd00df4aa7aa44b173.tar.xz |
PCI/x86: make early dump handle multi-function devices
The early "dump PCI config space" code skips many multi-function
devices. This patch fixes that, so it dumps all devices in PCI
domain 0.
We should not skip the rest of the functions if CLASS_REVISION is
0xffffffff. Often multi-function devices have gaps in the function ID
space, e.g., 1c.0 and 1c.2 exist but 1c.1 doesn't. The CLASS_REVISION
of the non-existent 1c.1 function will appear to be 0xffffffff.
We should only look at the HEADER_TYPE of function zero. Often the
"multi-function" is set in function zero, but not in other functions.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions