diff options
author | Andrey Mirkin <amirkin@sw.ru> | 2006-10-16 04:08:43 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-16 11:30:04 -0400 |
commit | 8741ca71a3f626a56595b88200ebf952ce77ceef (patch) | |
tree | f029a1ab0c83e0bf669bb961e2be93fef1d11122 /drivers/scsi/megaraid | |
parent | 3a42bb223f61fbd755d6e61b9b50b9681d68fcae (diff) |
[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: Andrey Mirkin <amirkin@sw.ru>
Acked-by: Vasily Averin <vvs@sw.ru>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/scsi/megaraid')
-rw-r--r-- | drivers/scsi/megaraid/megaraid_mbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/megaraid/megaraid_mbox.c b/drivers/scsi/megaraid/megaraid_mbox.c index c0edb662d863..7bac86dda88f 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) | |||
884 | 884 | ||
885 | if (((magic64 == HBA_SIGNATURE_64_BIT) && | 885 | if (((magic64 == HBA_SIGNATURE_64_BIT) && |
886 | ((adapter->pdev->subsystem_device != | 886 | ((adapter->pdev->subsystem_device != |
887 | PCI_SUBSYS_ID_MEGARAID_SATA_150_6) || | 887 | PCI_SUBSYS_ID_MEGARAID_SATA_150_6) && |
888 | (adapter->pdev->subsystem_device != | 888 | (adapter->pdev->subsystem_device != |
889 | PCI_SUBSYS_ID_MEGARAID_SATA_150_4))) || | 889 | PCI_SUBSYS_ID_MEGARAID_SATA_150_4))) || |
890 | (adapter->pdev->vendor == PCI_VENDOR_ID_LSI_LOGIC && | 890 | (adapter->pdev->vendor == PCI_VENDOR_ID_LSI_LOGIC && |