From owner-cvs-src-old@FreeBSD.ORG Wed Jul 13 18:36:05 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24B7E106564A for ; Wed, 13 Jul 2011 18:36:05 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 13CFB8FC15 for ; Wed, 13 Jul 2011 18:36:05 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p6DIa45Y021161 for ; Wed, 13 Jul 2011 18:36:04 GMT (envelope-from marius@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p6DIa4bI021160 for cvs-src-old@freebsd.org; Wed, 13 Jul 2011 18:36:04 GMT (envelope-from marius@repoman.freebsd.org) Message-Id: <201107131836.p6DIa4bI021160@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to marius@repoman.freebsd.org using -f From: Marius Strobl Date: Wed, 13 Jul 2011 18:35:47 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/pci pci.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jul 2011 18:36:05 -0000 marius 2011-07-13 18:35:47 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: SVN rev 223984 on 2011-07-13 18:35:47Z by marius PCIB_ALLOC_MSIX() may already fail on the first pass, f.e. when the PCI-PCI bridge is blacklisted. In that case just return from pci_alloc_msix_method(), otherwise we continue without a single MSI-X resource, causing subsequent attempts to use the seemingly available resource to fail or when booting verbose a NULL-pointer dereference of rle->start when trying to print the IRQ in pci_alloc_msix_method(). Reviewed by: jhb MFC after: 1 week Revision Changes Path 1.424 +4 -1 src/sys/dev/pci/pci.c