From owner-cvs-src@FreeBSD.ORG Thu Dec 14 19:57:22 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5BCBF16A412; Thu, 14 Dec 2006 19:57:22 +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 462FB43CAB; Thu, 14 Dec 2006 19:55:42 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id kBEJv6i0092908; Thu, 14 Dec 2006 19:57:06 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id kBEJv6vf092907; Thu, 14 Dec 2006 19:57:06 GMT (envelope-from jhb) Message-Id: <200612141957.kBEJv6vf092907@repoman.freebsd.org> From: John Baldwin Date: Thu, 14 Dec 2006 19:57:06 +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-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Dec 2006 19:57:22 -0000 jhb 2006-12-14 19:57:06 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c pcivar.h Log: Add a first pass at a way to blacklist MSI on systems where it doesn't work: - A new PCI quirk (PCI_QUIRK_DISABLE_MSI) is added to the quirk table. - A new pci_msi_device_blacklisted() determines if a passed in device matches an MSI quirk in the quirk table. This can be overridden (all quirks ignored) by setting the hw.pci.honor_msi_blacklist to 0. - A global blacklist check is performed in the MI PCI bus code by checking to see if the device at 0:0:0 is blacklisted. Tested by: jdp Revision Changes Path 1.329 +51 -0 src/sys/dev/pci/pci.c 1.76 +1 -0 src/sys/dev/pci/pcivar.h