|
@@ -2591,14 +2591,6 @@ static const struct ethtool_ops jme_ethtool_ops = {
|
|
|
static int
|
|
|
jme_pci_dma64(struct pci_dev *pdev)
|
|
|
{
|
|
|
- if (!pci_set_dma_mask(pdev, DMA_64BIT_MASK))
|
|
|
- if (!pci_set_consistent_dma_mask(pdev, DMA_64BIT_MASK))
|
|
|
- return 1;
|
|
|
-
|
|
|
- if (!pci_set_dma_mask(pdev, DMA_40BIT_MASK))
|
|
|
- if (!pci_set_consistent_dma_mask(pdev, DMA_40BIT_MASK))
|
|
|
- return 1;
|
|
|
-
|
|
|
if (!pci_set_dma_mask(pdev, DMA_32BIT_MASK))
|
|
|
if (!pci_set_consistent_dma_mask(pdev, DMA_32BIT_MASK))
|
|
|
return 0;
|