1. 20 3月, 2009 1 次提交
    • B
      PCI/x86: make early dump handle multi-function devices · 600914ba
      Bjorn Helgaas 提交于
      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: NBjorn Helgaas <bjorn.helgaas@hp.com>
      Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
      600914ba
  2. 19 3月, 2009 6 次提交
  3. 18 3月, 2009 33 次提交