Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8741ca71 authored by Andrey Mirkin's avatar Andrey Mirkin Committed by Linus Torvalds
Browse files

[PATCH] 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: default avatarAndrey Mirkin <amirkin@sw.ru>
Acked-by: default avatarVasily Averin <vvs@sw.ru>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 3a42bb22
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -884,7 +884,7 @@ megaraid_init_mbox(adapter_t *adapter)

	if (((magic64 == HBA_SIGNATURE_64_BIT) &&
		((adapter->pdev->subsystem_device !=
		PCI_SUBSYS_ID_MEGARAID_SATA_150_6) ||
		PCI_SUBSYS_ID_MEGARAID_SATA_150_6) &&
		(adapter->pdev->subsystem_device !=
		PCI_SUBSYS_ID_MEGARAID_SATA_150_4))) ||
		(adapter->pdev->vendor == PCI_VENDOR_ID_LSI_LOGIC &&