]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/jme.c
Merge branch 'omap-pool'
[linux-2.6-omap-h63xx.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;