diff options
Diffstat (limited to 'drivers/net/atl1e')
-rw-r--r-- | drivers/net/atl1e/atl1e_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/atl1e/atl1e_main.c b/drivers/net/atl1e/atl1e_main.c index c758884728a5..fb57b750866b 100644 --- a/drivers/net/atl1e/atl1e_main.c +++ b/drivers/net/atl1e/atl1e_main.c | |||
@@ -2326,8 +2326,8 @@ static int __devinit atl1e_probe(struct pci_dev *pdev, | |||
2326 | * various kernel subsystems to support the mechanics required by a | 2326 | * various kernel subsystems to support the mechanics required by a |
2327 | * fixed-high-32-bit system. | 2327 | * fixed-high-32-bit system. |
2328 | */ | 2328 | */ |
2329 | if ((pci_set_dma_mask(pdev, DMA_32BIT_MASK) != 0) || | 2329 | if ((pci_set_dma_mask(pdev, DMA_BIT_MASK(32)) != 0) || |
2330 | (pci_set_consistent_dma_mask(pdev, DMA_32BIT_MASK) != 0)) { | 2330 | (pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(32)) != 0)) { |
2331 | dev_err(&pdev->dev, "No usable DMA configuration,aborting\n"); | 2331 | dev_err(&pdev->dev, "No usable DMA configuration,aborting\n"); |
2332 | goto err_dma; | 2332 | goto err_dma; |
2333 | } | 2333 | } |