cvs commit: src/sys/dev/pci pci.c pcivar.h

John Baldwin jhb at FreeBSD.org
Mon Mar 26 20:18:53 UTC 2007


jhb         2007-03-26 20:18:53 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/pci          pci.c pcivar.h 
  Log:
  Change the VPD code to read the VPD data on-demand when a driver asks for
  it via pci_get_vpd_*() rather than always reading it for each device during
  boot.  I've left the tunable so that it can still be turned off if a device
  driver causes a lockup via a query to a broken device, but devices whose
  drivers do not use VPD (the vast majority) should no longer result in
  lockups during boot, and most folks should not need to tweak the tunable
  now.
  
  Tested on:      bge(4)
  Silence from:   jmg
  
  Revision  Changes    Path
  1.345     +13 -30    src/sys/dev/pci/pci.c
  1.78      +1 -0      src/sys/dev/pci/pcivar.h


More information about the cvs-src mailing list