]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/ns83820.c
dma-mapping: replace all DMA_64BIT_MASK macro with DMA_BIT_MASK(64)
[linux-2.6-omap-h63xx.git] / drivers / net / ns83820.c
index 221b0c4c824a36bdb3e0ea1ece9e0e5497517a01..e30ab06e71037ae964d50de349c27b51d9a17123 100644 (file)
@@ -1973,7 +1973,7 @@ static int __devinit ns83820_init_one(struct pci_dev *pci_dev,
 
        /* See if we can set the dma mask early on; failure is fatal. */
        if (sizeof(dma_addr_t) == 8 &&
-               !pci_set_dma_mask(pci_dev, DMA_64BIT_MASK)) {
+               !pci_set_dma_mask(pci_dev, DMA_BIT_MASK(64))) {
                using_dac = 1;
        } else if (!pci_set_dma_mask(pci_dev, DMA_32BIT_MASK)) {
                using_dac = 0;