diff options
Diffstat (limited to 'drivers/message/i2o/pci.c')
-rw-r--r-- | drivers/message/i2o/pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/message/i2o/pci.c b/drivers/message/i2o/pci.c index 25d6f2341983..35ba2ae38b42 100644 --- a/drivers/message/i2o/pci.c +++ b/drivers/message/i2o/pci.c | |||
@@ -334,7 +334,7 @@ static int __devinit i2o_pci_probe(struct pci_dev *pdev, | |||
334 | return rc; | 334 | return rc; |
335 | } | 335 | } |
336 | 336 | ||
337 | if (pci_set_dma_mask(pdev, DMA_32BIT_MASK)) { | 337 | if (pci_set_dma_mask(pdev, DMA_BIT_MASK(32))) { |
338 | printk(KERN_WARNING "i2o: no suitable DMA found for %s\n", | 338 | printk(KERN_WARNING "i2o: no suitable DMA found for %s\n", |
339 | pci_name(pdev)); | 339 | pci_name(pdev)); |
340 | rc = -ENODEV; | 340 | rc = -ENODEV; |
@@ -397,7 +397,7 @@ static int __devinit i2o_pci_probe(struct pci_dev *pdev, | |||
397 | } | 397 | } |
398 | #ifdef CONFIG_I2O_EXT_ADAPTEC_DMA64 | 398 | #ifdef CONFIG_I2O_EXT_ADAPTEC_DMA64 |
399 | if (sizeof(dma_addr_t) > 4) { | 399 | if (sizeof(dma_addr_t) > 4) { |
400 | if (pci_set_dma_mask(pdev, DMA_64BIT_MASK)) | 400 | if (pci_set_dma_mask(pdev, DMA_BIT_MASK(64))) |
401 | printk(KERN_INFO "%s: 64-bit DMA unavailable\n", | 401 | printk(KERN_INFO "%s: 64-bit DMA unavailable\n", |
402 | c->name); | 402 | c->name); |
403 | else { | 403 | else { |