summaryrefslogtreecommitdiffstats
path: root/sys/dev/mpt
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2006-11-16 02:40:18 +0000
committermjacob <mjacob@FreeBSD.org>2006-11-16 02:40:18 +0000
commit736f46700d41a6ed15e7b82f1e25aa966d9f0fb9 (patch)
treefe847449cf27f8616510f9130eceebf1078564b2 /sys/dev/mpt
parent63d82b700dad091f36b4fdf7ac55bfe272a625ba (diff)
downloadFreeBSD-src-736f46700d41a6ed15e7b82f1e25aa966d9f0fb9.zip
FreeBSD-src-736f46700d41a6ed15e7b82f1e25aa966d9f0fb9.tar.gz
After tests on 2 different AMD platforms with several
different cards (SAS, 4Gb FC), MSI seems to work with the cards. This was of some concern because some PCI cards claim to work with MSI but don't.
Diffstat (limited to 'sys/dev/mpt')
-rw-r--r--sys/dev/mpt/mpt_pci.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/mpt/mpt_pci.c b/sys/dev/mpt/mpt_pci.c
index a4c027f..03b267a 100644
--- a/sys/dev/mpt/mpt_pci.c
+++ b/sys/dev/mpt/mpt_pci.c
@@ -512,7 +512,6 @@ 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)
@@ -520,7 +519,6 @@ 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) {
OpenPOWER on IntegriCloud