pci_alloc_msix: Fail if no MSI-X vectors available
commit14ae4dcef779ec0ed2f457943273ff91454e270a
authorMichael Neumann <mneumann@ntecs.de>
Fri, 5 Mar 2010 23:20:12 +0000 (6 00:20 +0100)
committerMichael Neumann <mneumann@ntecs.de>
Fri, 5 Mar 2010 23:20:12 +0000 (6 00:20 +0100)
tree81a313f2403b365d6af7d38d9c6f0b4d4a7b23d2
parent8829f96f7ff7a2bb8b4617b6e247a5f24da19e53
pci_alloc_msix: Fail if no MSI-X vectors available

Otherwise bootverbose could lead to a kernel crash.
This commit also lets the igb driver correctly fall-back
to non MSI-X code. MSI-X is currently not supported by
DragonFly.
sys/bus/pci/pci.c