diff options
Diffstat (limited to 'drivers/net/forcedeth.c')
-rw-r--r-- | drivers/net/forcedeth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/forcedeth.c b/drivers/net/forcedeth.c index 663a7b3261ee..d37465020bcc 100644 --- a/drivers/net/forcedeth.c +++ b/drivers/net/forcedeth.c | |||
@@ -5632,12 +5632,12 @@ static int __devinit nv_probe(struct pci_dev *pci_dev, const struct pci_device_i | |||
5632 | np->desc_ver = DESC_VER_3; | 5632 | np->desc_ver = DESC_VER_3; |
5633 | np->txrxctl_bits = NVREG_TXRXCTL_DESC_3; | 5633 | np->txrxctl_bits = NVREG_TXRXCTL_DESC_3; |
5634 | if (dma_64bit) { | 5634 | if (dma_64bit) { |
5635 | if (pci_set_dma_mask(pci_dev, DMA_39BIT_MASK)) | 5635 | if (pci_set_dma_mask(pci_dev, DMA_BIT_MASK(39))) |
5636 | dev_printk(KERN_INFO, &pci_dev->dev, | 5636 | dev_printk(KERN_INFO, &pci_dev->dev, |
5637 | "64-bit DMA failed, using 32-bit addressing\n"); | 5637 | "64-bit DMA failed, using 32-bit addressing\n"); |
5638 | else | 5638 | else |
5639 | dev->features |= NETIF_F_HIGHDMA; | 5639 | dev->features |= NETIF_F_HIGHDMA; |
5640 | if (pci_set_consistent_dma_mask(pci_dev, DMA_39BIT_MASK)) { | 5640 | if (pci_set_consistent_dma_mask(pci_dev, DMA_BIT_MASK(39))) { |
5641 | dev_printk(KERN_INFO, &pci_dev->dev, | 5641 | dev_printk(KERN_INFO, &pci_dev->dev, |
5642 | "64-bit DMA (consistent) failed, using 32-bit ring buffers\n"); | 5642 | "64-bit DMA (consistent) failed, using 32-bit ring buffers\n"); |
5643 | } | 5643 | } |