diff options
Diffstat (limited to 'drivers/scsi/aacraid')
-rw-r--r-- | drivers/scsi/aacraid/aachba.c | 4 | ||||
-rw-r--r-- | drivers/scsi/aacraid/commsup.c | 6 | ||||
-rw-r--r-- | drivers/scsi/aacraid/linit.c | 6 |
3 files changed, 8 insertions, 8 deletions
diff --git a/drivers/scsi/aacraid/aachba.c b/drivers/scsi/aacraid/aachba.c index e83ef8aaa98c..280261c451d6 100644 --- a/drivers/scsi/aacraid/aachba.c +++ b/drivers/scsi/aacraid/aachba.c | |||
@@ -1407,8 +1407,8 @@ int aac_get_adapter_info(struct aac_dev* dev) | |||
1407 | if (!dev->in_reset) | 1407 | if (!dev->in_reset) |
1408 | printk(KERN_INFO"%s%d: 64 Bit DAC enabled\n", | 1408 | printk(KERN_INFO"%s%d: 64 Bit DAC enabled\n", |
1409 | dev->name, dev->id); | 1409 | dev->name, dev->id); |
1410 | } else if (!pci_set_dma_mask(dev->pdev, DMA_32BIT_MASK) && | 1410 | } else if (!pci_set_dma_mask(dev->pdev, DMA_BIT_MASK(32)) && |
1411 | !pci_set_consistent_dma_mask(dev->pdev, DMA_32BIT_MASK)) { | 1411 | !pci_set_consistent_dma_mask(dev->pdev, DMA_BIT_MASK(32))) { |
1412 | printk(KERN_INFO"%s%d: DMA mask set failed, 64 Bit DAC disabled\n", | 1412 | printk(KERN_INFO"%s%d: DMA mask set failed, 64 Bit DAC disabled\n", |
1413 | dev->name, dev->id); | 1413 | dev->name, dev->id); |
1414 | dev->dac_support = 0; | 1414 | dev->dac_support = 0; |
diff --git a/drivers/scsi/aacraid/commsup.c b/drivers/scsi/aacraid/commsup.c index d24c2670040b..3b69c2d98dd6 100644 --- a/drivers/scsi/aacraid/commsup.c +++ b/drivers/scsi/aacraid/commsup.c | |||
@@ -1210,14 +1210,14 @@ static int _aac_reset_adapter(struct aac_dev *aac, int forced) | |||
1210 | ((retval = pci_set_consistent_dma_mask(aac->pdev, DMA_31BIT_MASK)))) | 1210 | ((retval = pci_set_consistent_dma_mask(aac->pdev, DMA_31BIT_MASK)))) |
1211 | goto out; | 1211 | goto out; |
1212 | } else { | 1212 | } else { |
1213 | if (((retval = pci_set_dma_mask(aac->pdev, DMA_32BIT_MASK))) || | 1213 | if (((retval = pci_set_dma_mask(aac->pdev, DMA_BIT_MASK(32)))) || |
1214 | ((retval = pci_set_consistent_dma_mask(aac->pdev, DMA_32BIT_MASK)))) | 1214 | ((retval = pci_set_consistent_dma_mask(aac->pdev, DMA_BIT_MASK(32))))) |
1215 | goto out; | 1215 | goto out; |
1216 | } | 1216 | } |
1217 | if ((retval = (*(aac_get_driver_ident(index)->init))(aac))) | 1217 | if ((retval = (*(aac_get_driver_ident(index)->init))(aac))) |
1218 | goto out; | 1218 | goto out; |
1219 | if (quirks & AAC_QUIRK_31BIT) | 1219 | if (quirks & AAC_QUIRK_31BIT) |
1220 | if ((retval = pci_set_dma_mask(aac->pdev, DMA_32BIT_MASK))) | 1220 | if ((retval = pci_set_dma_mask(aac->pdev, DMA_BIT_MASK(32)))) |
1221 | goto out; | 1221 | goto out; |
1222 | if (jafo) { | 1222 | if (jafo) { |
1223 | aac->thread = kthread_run(aac_command_thread, aac, aac->name); | 1223 | aac->thread = kthread_run(aac_command_thread, aac, aac->name); |
diff --git a/drivers/scsi/aacraid/linit.c b/drivers/scsi/aacraid/linit.c index c507719c0d44..3c3ed4b3311a 100644 --- a/drivers/scsi/aacraid/linit.c +++ b/drivers/scsi/aacraid/linit.c | |||
@@ -1095,8 +1095,8 @@ 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 |
@@ -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; |