]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/r6040.c
Merge branch 'omap-pool'
[linux-2.6-omap-h63xx.git] / drivers / net / r6040.c
index 0a37f9902a074d0f106db698a8232fb3bce0d2c9..5e8540b6ffa11d7184cbcf1e5ee11f88f1d57043 100644 (file)
@@ -1085,13 +1085,13 @@ static int __devinit r6040_init_one(struct pci_dev *pdev,
                goto err_out;
 
        /* this should always be supported */
-       err = pci_set_dma_mask(pdev, DMA_32BIT_MASK);
+       err = pci_set_dma_mask(pdev, DMA_BIT_MASK(32));
        if (err) {
                printk(KERN_ERR DRV_NAME ": 32-bit PCI DMA addresses"
                                "not supported by the card\n");
                goto err_out;
        }
-       err = pci_set_consistent_dma_mask(pdev, DMA_32BIT_MASK);
+       err = pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(32));
        if (err) {
                printk(KERN_ERR DRV_NAME ": 32-bit PCI DMA addresses"
                                "not supported by the card\n");