myri10ge: set 64bits consistent DMA mask
[sfrench/cifs-2.6.git] / drivers / net / myri10ge / myri10ge.c
index 3ab0e5289f7abd9cc2759870c77d6f8f913abcfd..f1de38f8b7425d7bbf2c2bf81ba3d2dfd8899814 100644 (file)
@@ -3699,6 +3699,7 @@ static int myri10ge_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
                dev_err(&pdev->dev, "Error %d setting DMA mask\n", status);
                goto abort_with_netdev;
        }
+       (void)pci_set_consistent_dma_mask(pdev, DMA_64BIT_MASK);
        mgp->cmd = dma_alloc_coherent(&pdev->dev, sizeof(*mgp->cmd),
                                      &mgp->cmd_bus, GFP_KERNEL);
        if (mgp->cmd == NULL)