From owner-cvs-all@FreeBSD.ORG Mon Mar 26 20:18:53 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A7C0F16A415; Mon, 26 Mar 2007 20:18:53 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 626E513C4CC; Mon, 26 Mar 2007 20:18:53 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l2QKIrcs075853; Mon, 26 Mar 2007 20:18:53 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l2QKIrdR075849; Mon, 26 Mar 2007 20:18:53 GMT (envelope-from jhb) Message-Id: <200703262018.l2QKIrdR075849@repoman.freebsd.org> From: John Baldwin Date: Mon, 26 Mar 2007 20:18:53 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/pci pci.c pcivar.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Mar 2007 20:18:53 -0000 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