diff options
Diffstat (limited to 'drivers/scsi/aacraid/commsup.c')
-rw-r--r-- | drivers/scsi/aacraid/commsup.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); |