]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/scsi/hptiop.c
dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32)
[net-next-2.6.git] / drivers / scsi / hptiop.c
index a13d78150cb509c22754b0a56b1398e26382ea18..c596ab5f05c358b3a95ded2d34e248e941412d49 100644 (file)
@@ -959,7 +959,7 @@ static int __devinit hptiop_probe(struct pci_dev *pcidev,
 
        /* Enable 64bit DMA if possible */
        if (pci_set_dma_mask(pcidev, DMA_BIT_MASK(64))) {
-               if (pci_set_dma_mask(pcidev, DMA_32BIT_MASK)) {
+               if (pci_set_dma_mask(pcidev, DMA_BIT_MASK(32))) {
                        printk(KERN_ERR "hptiop: fail to set dma_mask\n");
                        goto disable_pci_device;
                }