summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAndrey Mirkin <(amirkin@sw.ru)>2006-10-16 12:08:43 +0400
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-10-25 15:13:31 -0700
commit031280f6e73d9177c93333c96e37eb05f2522faa (patch)
treea49f8dee6184c0bba40e0e6fe3a23b0f2509c381 /drivers
parent3fc2aef5227dda464560a3fdafc9f4c7ce10210f (diff)
downloadkernel-crypto-031280f6e73d9177c93333c96e37eb05f2522faa.tar.gz
kernel-crypto-031280f6e73d9177c93333c96e37eb05f2522faa.tar.xz
kernel-crypto-031280f6e73d9177c93333c96e37eb05f2522faa.zip
[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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/megaraid/megaraid_mbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/megaraid/megaraid_mbox.c b/drivers/scsi/megaraid/megaraid_mbox.c
index c0edb662d86..7bac86dda88 100644
--- a/drivers/scsi/megaraid/megaraid_mbox.c
+++ b/drivers/scsi/megaraid/megaraid_mbox.c
@@ -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 &&