aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/amso1100/c2.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/infiniband/hw/amso1100/c2.c')
-rw-r--r--drivers/infiniband/hw/amso1100/c2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/amso1100/c2.c b/drivers/infiniband/hw/amso1100/c2.c
index 7d79aa361e26..0cfbb6d2f762 100644
--- a/drivers/infiniband/hw/amso1100/c2.c
+++ b/drivers/infiniband/hw/amso1100/c2.c
@@ -989,13 +989,13 @@ static int __devinit c2_probe(struct pci_dev *pcidev,
989 } 989 }
990 990
991 if ((sizeof(dma_addr_t) > 4)) { 991 if ((sizeof(dma_addr_t) > 4)) {
992 ret = pci_set_dma_mask(pcidev, DMA_64BIT_MASK); 992 ret = pci_set_dma_mask(pcidev, DMA_BIT_MASK(64));
993 if (ret < 0) { 993 if (ret < 0) {
994 printk(KERN_ERR PFX "64b DMA configuration failed\n"); 994 printk(KERN_ERR PFX "64b DMA configuration failed\n");
995 goto bail2; 995 goto bail2;
996 } 996 }
997 } else { 997 } else {
998 ret = pci_set_dma_mask(pcidev, DMA_32BIT_MASK); 998 ret = pci_set_dma_mask(pcidev, DMA_BIT_MASK(32));
999 if (ret < 0) { 999 if (ret < 0) {
1000 printk(KERN_ERR PFX "32b DMA configuration failed\n"); 1000 printk(KERN_ERR PFX "32b DMA configuration failed\n");
1001 goto bail2; 1001 goto bail2;