diff options
author | Yang Hongyang <yanghy@cn.fujitsu.com> | 2009-04-06 22:01:15 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-07 11:31:11 -0400 |
commit | 284901a90a9e0b812ca3f5f852cbbfb60d10249d (patch) | |
tree | 06c1b5a0f83c90cfb662f756e7781977ce739ce8 /drivers/scsi/aacraid/commsup.c | |
parent | 6afd142fd0dfba497246d0fab236c20a7b4bf778 (diff) |
dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32)
Replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32)
Signed-off-by: Yang Hongyang<yanghy@cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
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); |