diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/myri10ge/myri10ge.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/myri10ge/myri10ge.c b/drivers/net/myri10ge/myri10ge.c index 3ab0e5289f7a..f1de38f8b742 100644 --- a/drivers/net/myri10ge/myri10ge.c +++ b/drivers/net/myri10ge/myri10ge.c | |||
@@ -3699,6 +3699,7 @@ static int myri10ge_probe(struct pci_dev *pdev, const struct pci_device_id *ent) | |||
3699 | dev_err(&pdev->dev, "Error %d setting DMA mask\n", status); | 3699 | dev_err(&pdev->dev, "Error %d setting DMA mask\n", status); |
3700 | goto abort_with_netdev; | 3700 | goto abort_with_netdev; |
3701 | } | 3701 | } |
3702 | (void)pci_set_consistent_dma_mask(pdev, DMA_64BIT_MASK); | ||
3702 | mgp->cmd = dma_alloc_coherent(&pdev->dev, sizeof(*mgp->cmd), | 3703 | mgp->cmd = dma_alloc_coherent(&pdev->dev, sizeof(*mgp->cmd), |
3703 | &mgp->cmd_bus, GFP_KERNEL); | 3704 | &mgp->cmd_bus, GFP_KERNEL); |
3704 | if (mgp->cmd == NULL) | 3705 | if (mgp->cmd == NULL) |