blob: 7718a7d647805d48a9bf9b15f388b867087c6fcb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
--- ./drivers/scsi/megaraid/megaraid_mbox.c.s1504 2006-06-21 12:31:44.000000000 +0400
+++ ./drivers/scsi/megaraid/megaraid_mbox.c 2006-06-21 06:47:28.000000000 +0400
@@ -937,6 +937,12 @@ megaraid_init_mbox(adapter_t *adapter)
// DMA in this range
pci_read_config_dword(adapter->pdev, PCI_CONF_AMISIG64, &magic64);
+/* MegaRAID SATA 150-4 not supported 64-bit DMA */
+if (!(adapter->pdev->vendor == PCI_VENDOR_ID_LSI_LOGIC &&
+ adapter->pdev->device == PCI_DEVICE_ID_MEGARAID_SATA_150_4 &&
+ adapter->pdev->subsystem_vendor == PCI_VENDOR_ID_LSI_LOGIC &&
+ adapter->pdev->subsystem_device == PCI_SUBSYS_ID_MEGARAID_SATA_150_4)) {
+
if ((magic64 == HBA_SIGNATURE_64BIT) ||
(adapter->pdev->vendor == PCI_VENDOR_ID_DELL &&
adapter->pdev->device == PCI_DEVICE_ID_PERC4_DI_EVERGLADES) ||
@@ -955,7 +961,7 @@ megaraid_init_mbox(adapter_t *adapter)
goto out_free_sysfs_res;
}
}
-
+}
// setup tasklet for DPC
tasklet_init(&adapter->dpc_h, megaraid_mbox_dpc,
(unsigned long)adapter);
|