]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/scsi/aacraid/commsup.c
dma-mapping: replace all DMA_31BIT_MASK macro with DMA_BIT_MASK(31)
[linux-2.6-omap-h63xx.git] / drivers / scsi / aacraid / commsup.c
index 3b69c2d98dd6e6b15acca67bdbed5210ecb5cc2a..956261f251817ea5ab0873a60c96835e1bcf13e1 100644 (file)
@@ -1206,8 +1206,8 @@ static int _aac_reset_adapter(struct aac_dev *aac, int forced)
        aac->fsa_dev = NULL;
        quirks = aac_get_driver_ident(index)->quirks;
        if (quirks & AAC_QUIRK_31BIT) {
-               if (((retval = pci_set_dma_mask(aac->pdev, DMA_31BIT_MASK))) ||
-                 ((retval = pci_set_consistent_dma_mask(aac->pdev, DMA_31BIT_MASK))))
+               if (((retval = pci_set_dma_mask(aac->pdev, DMA_BIT_MASK(31)))) ||
+                 ((retval = pci_set_consistent_dma_mask(aac->pdev, DMA_BIT_MASK(31)))))
                        goto out;
        } else {
                if (((retval = pci_set_dma_mask(aac->pdev, DMA_BIT_MASK(32)))) ||