mirror of
https://github.com/adulau/aha.git
synced 2024-12-30 20:56:23 +00:00
[SCSI] megaraid_{mm,mbox}: 64-bit DMA capability fix
It is known that 2 LSI Logic MegaRAID SATA RAID Controllers (150-4 and 150-6) don't support 64-bit DMA. Unfortunately currently this check is wrong and driver sets 64-bit DMA mode for these devices. Signed-off-by: Andrey Mirkin <amirkin@sw.ru> Acked-by: "Ju, Seokmann" <Seokmann.Ju@lsi.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:
parent
3fc2aef522
commit
031280f6e7
1 changed files with 1 additions and 1 deletions
|
@ -884,7 +884,7 @@ megaraid_init_mbox(adapter_t *adapter)
|
||||||
|
|
||||||
if (((magic64 == HBA_SIGNATURE_64_BIT) &&
|
if (((magic64 == HBA_SIGNATURE_64_BIT) &&
|
||||||
((adapter->pdev->subsystem_device !=
|
((adapter->pdev->subsystem_device !=
|
||||||
PCI_SUBSYS_ID_MEGARAID_SATA_150_6) ||
|
PCI_SUBSYS_ID_MEGARAID_SATA_150_6) &&
|
||||||
(adapter->pdev->subsystem_device !=
|
(adapter->pdev->subsystem_device !=
|
||||||
PCI_SUBSYS_ID_MEGARAID_SATA_150_4))) ||
|
PCI_SUBSYS_ID_MEGARAID_SATA_150_4))) ||
|
||||||
(adapter->pdev->vendor == PCI_VENDOR_ID_LSI_LOGIC &&
|
(adapter->pdev->vendor == PCI_VENDOR_ID_LSI_LOGIC &&
|
||||||
|
|
Loading…
Reference in a new issue