]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC: r223984
authormarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 25 Jul 2011 19:11:29 +0000 (19:11 +0000)
committermarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 25 Jul 2011 19:11:29 +0000 (19:11 +0000)
commitbce85b7558d161bb69e13b8efd14a7a147290111
tree1588614acf3b02eb05833384e72327f032702a69
parent9b150a2cc4a7d36c076c0835452eaeec9560a997
MFC: r223984

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 to NULL-dereference rle->start when trying to print the IRQ in
pci_alloc_msix_method().

Reviewed by: jhb

git-svn-id: svn://svn.freebsd.org/base/stable/8@224394 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/pci/pci.c