diff options
Diffstat (limited to 'drivers/net/via-rhine.c')
-rw-r--r-- | drivers/net/via-rhine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/via-rhine.c b/drivers/net/via-rhine.c index 880eaf07413b..45daba726b66 100644 --- a/drivers/net/via-rhine.c +++ b/drivers/net/via-rhine.c | |||
@@ -686,7 +686,7 @@ static int __devinit rhine_init_one(struct pci_dev *pdev, | |||
686 | goto err_out; | 686 | goto err_out; |
687 | 687 | ||
688 | /* this should always be supported */ | 688 | /* this should always be supported */ |
689 | rc = pci_set_dma_mask(pdev, DMA_32BIT_MASK); | 689 | rc = pci_set_dma_mask(pdev, DMA_BIT_MASK(32)); |
690 | if (rc) { | 690 | if (rc) { |
691 | printk(KERN_ERR "32-bit PCI DMA addresses not supported by " | 691 | printk(KERN_ERR "32-bit PCI DMA addresses not supported by " |
692 | "the card!?\n"); | 692 | "the card!?\n"); |