]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/jme.c
dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32)
[net-next-2.6.git] / drivers / net / jme.c
index 860dcd98a07c1c036d3aa97286152ea5a061f05f..ece35040288c5de1e6344ae0d4367ca1378ef2e4 100644 (file)
@@ -2600,8 +2600,8 @@ jme_pci_dma64(struct pci_dev *pdev)
                if (!pci_set_consistent_dma_mask(pdev, DMA_40BIT_MASK))
                        return 1;
 
-       if (!pci_set_dma_mask(pdev, DMA_32BIT_MASK))
-               if (!pci_set_consistent_dma_mask(pdev, DMA_32BIT_MASK))
+       if (!pci_set_dma_mask(pdev, DMA_BIT_MASK(32)))
+               if (!pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(32)))
                        return 0;
 
        return -1;