diff options
Diffstat (limited to 'drivers/net/acenic.c')
-rw-r--r-- | drivers/net/acenic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/acenic.c b/drivers/net/acenic.c index 06a9f11669f3..57bc71527850 100644 --- a/drivers/net/acenic.c +++ b/drivers/net/acenic.c | |||
@@ -1161,9 +1161,9 @@ static int __devinit ace_init(struct net_device *dev) | |||
1161 | /* | 1161 | /* |
1162 | * Configure DMA attributes. | 1162 | * Configure DMA attributes. |
1163 | */ | 1163 | */ |
1164 | if (!pci_set_dma_mask(pdev, DMA_64BIT_MASK)) { | 1164 | if (!pci_set_dma_mask(pdev, DMA_BIT_MASK(64))) { |
1165 | ap->pci_using_dac = 1; | 1165 | ap->pci_using_dac = 1; |
1166 | } else if (!pci_set_dma_mask(pdev, DMA_32BIT_MASK)) { | 1166 | } else if (!pci_set_dma_mask(pdev, DMA_BIT_MASK(32))) { |
1167 | ap->pci_using_dac = 0; | 1167 | ap->pci_using_dac = 0; |
1168 | } else { | 1168 | } else { |
1169 | ecode = -ENODEV; | 1169 | ecode = -ENODEV; |