aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/jme.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/net/jme.c b/drivers/net/jme.c
index e10d9f38662c..15035cb1738a 100644
--- a/drivers/net/jme.c
+++ b/drivers/net/jme.c
@@ -2591,14 +2591,6 @@ static const struct ethtool_ops jme_ethtool_ops = {
2591static int 2591static int
2592jme_pci_dma64(struct pci_dev *pdev) 2592jme_pci_dma64(struct pci_dev *pdev)
2593{ 2593{
2594 if (!pci_set_dma_mask(pdev, DMA_64BIT_MASK))
2595 if (!pci_set_consistent_dma_mask(pdev, DMA_64BIT_MASK))
2596 return 1;
2597
2598 if (!pci_set_dma_mask(pdev, DMA_40BIT_MASK))
2599 if (!pci_set_consistent_dma_mask(pdev, DMA_40BIT_MASK))
2600 return 1;
2601
2602 if (!pci_set_dma_mask(pdev, DMA_32BIT_MASK)) 2594 if (!pci_set_dma_mask(pdev, DMA_32BIT_MASK))
2603 if (!pci_set_consistent_dma_mask(pdev, DMA_32BIT_MASK)) 2595 if (!pci_set_consistent_dma_mask(pdev, DMA_32BIT_MASK))
2604 return 0; 2596 return 0;