diff options
Diffstat (limited to 'drivers/scsi/aacraid/linit.c')
-rw-r--r-- | drivers/scsi/aacraid/linit.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/scsi/aacraid/linit.c b/drivers/scsi/aacraid/linit.c index c507719c0d44..9b97c3e016fe 100644 --- a/drivers/scsi/aacraid/linit.c +++ b/drivers/scsi/aacraid/linit.c | |||
@@ -1095,16 +1095,16 @@ static int __devinit aac_probe_one(struct pci_dev *pdev, | |||
1095 | goto out; | 1095 | goto out; |
1096 | error = -ENODEV; | 1096 | error = -ENODEV; |
1097 | 1097 | ||
1098 | if (pci_set_dma_mask(pdev, DMA_32BIT_MASK) || | 1098 | if (pci_set_dma_mask(pdev, DMA_BIT_MASK(32)) || |
1099 | pci_set_consistent_dma_mask(pdev, DMA_32BIT_MASK)) | 1099 | pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(32))) |
1100 | goto out_disable_pdev; | 1100 | goto out_disable_pdev; |
1101 | /* | 1101 | /* |
1102 | * If the quirk31 bit is set, the adapter needs adapter | 1102 | * If the quirk31 bit is set, the adapter needs adapter |
1103 | * to driver communication memory to be allocated below 2gig | 1103 | * to driver communication memory to be allocated below 2gig |
1104 | */ | 1104 | */ |
1105 | if (aac_drivers[index].quirks & AAC_QUIRK_31BIT) | 1105 | if (aac_drivers[index].quirks & AAC_QUIRK_31BIT) |
1106 | if (pci_set_dma_mask(pdev, DMA_31BIT_MASK) || | 1106 | if (pci_set_dma_mask(pdev, DMA_BIT_MASK(31)) || |
1107 | pci_set_consistent_dma_mask(pdev, DMA_31BIT_MASK)) | 1107 | pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(31))) |
1108 | goto out_disable_pdev; | 1108 | goto out_disable_pdev; |
1109 | 1109 | ||
1110 | pci_set_master(pdev); | 1110 | pci_set_master(pdev); |
@@ -1154,7 +1154,7 @@ static int __devinit aac_probe_one(struct pci_dev *pdev, | |||
1154 | * address space. | 1154 | * address space. |
1155 | */ | 1155 | */ |
1156 | if (aac_drivers[index].quirks & AAC_QUIRK_31BIT) | 1156 | if (aac_drivers[index].quirks & AAC_QUIRK_31BIT) |
1157 | if (pci_set_dma_mask(pdev, DMA_32BIT_MASK)) | 1157 | if (pci_set_dma_mask(pdev, DMA_BIT_MASK(32))) |
1158 | goto out_deinit; | 1158 | goto out_deinit; |
1159 | 1159 | ||
1160 | aac->maximum_num_channels = aac_drivers[index].channels; | 1160 | aac->maximum_num_channels = aac_drivers[index].channels; |