Date: Wed, 13 Jul 2011 18:35:47 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/pci pci.c Message-ID: <201107131836.p6DIa4bI021160@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107131836.p6DIa4bI021160>
