Turn off MSI until some testing is done.

This commit is contained in:
mjacob 2006-11-15 20:18:09 +00:00
parent 821d475e21
commit 2f2c7a9146

View File

@ -512,6 +512,7 @@ mpt_pci_attach(device_t dev)
/* Get a handle to the interrupt */
iqd = 0;
#if 0
if (pci_msi_count(dev) == 1) {
mpt->pci_msi_count = 1;
if (pci_alloc_msi(dev, &mpt->pci_msi_count) == 0)
@ -519,6 +520,7 @@ mpt_pci_attach(device_t dev)
else
mpt->pci_msi_count = 0;
}
#endif
mpt->pci_irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &iqd,
RF_ACTIVE | RF_SHAREABLE);
if (mpt->pci_irq == NULL) {