MSI fixes

- ack only the status bits belonging to corresponding interrupt handler
- set msi 2 instead of 1
This commit is contained in:
Ralph Metzler
2016-04-13 11:31:30 +02:00
parent c4133d98c1
commit 0b4d6d807a
2 changed files with 4 additions and 4 deletions

View File

@@ -175,7 +175,7 @@ static int __devinit ddb_probe(struct pci_dev *pdev,
#else
stat = pci_enable_msi_block(dev->pdev, 2);
if (stat == 0) {
dev->msi = 1;
dev->msi = 2;
pr_info("DDBridge: using 2 MSI interrupts\n");
}
if (stat == 1)