Skip to content

Commit e4d5c4e

Browse files
Raghava Aditya Renukuntamartinkpetersen
authored andcommitted
aacraid: Disable MSI mode for series 6, 7, 8 cards
As the firmware for series 6, 7, 8 cards does not support msi, remove it in the driver Signed-off-by: Raghava Aditya Renukunta <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
1 parent 07beca2 commit e4d5c4e

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

drivers/scsi/aacraid/comminit.c

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -378,21 +378,8 @@ void aac_define_int_mode(struct aac_dev *dev)
378378
msi_count = i;
379379
} else {
380380
dev->msi_enabled = 0;
381-
printk(KERN_ERR "%s%d: MSIX not supported!! Will try MSI 0x%x.\n",
382-
dev->name, dev->id, i);
383-
}
384-
}
385-
386-
if (!dev->msi_enabled) {
387-
msi_count = 1;
388-
i = pci_enable_msi(dev->pdev);
389-
390-
if (!i) {
391-
dev->msi_enabled = 1;
392-
dev->msi = 1;
393-
} else {
394-
printk(KERN_ERR "%s%d: MSI not supported!! Will try INTx 0x%x.\n",
395-
dev->name, dev->id, i);
381+
dev_err(&dev->pdev->dev,
382+
"MSIX not supported!! Will try INTX 0x%x.\n", i);
396383
}
397384
}
398385

0 commit comments

Comments
 (0)