Date: Mon, 26 Mar 2007 20:18:53 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/pci pci.c pcivar.h Message-ID: <200703262018.l2QKIrdR075849@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703262018.l2QKIrdR075849>
