diff options
Diffstat (limited to 'drivers/ata/sata_inic162x.c')
-rw-r--r-- | drivers/ata/sata_inic162x.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/sata_inic162x.c b/drivers/ata/sata_inic162x.c index 305a4f825f53..8d890cc5a7ee 100644 --- a/drivers/ata/sata_inic162x.c +++ b/drivers/ata/sata_inic162x.c | |||
@@ -861,14 +861,14 @@ static int inic_init_one(struct pci_dev *pdev, const struct pci_device_id *ent) | |||
861 | } | 861 | } |
862 | 862 | ||
863 | /* Set dma_mask. This devices doesn't support 64bit addressing. */ | 863 | /* Set dma_mask. This devices doesn't support 64bit addressing. */ |
864 | rc = pci_set_dma_mask(pdev, DMA_32BIT_MASK); | 864 | rc = pci_set_dma_mask(pdev, DMA_BIT_MASK(32)); |
865 | if (rc) { | 865 | if (rc) { |
866 | dev_printk(KERN_ERR, &pdev->dev, | 866 | dev_printk(KERN_ERR, &pdev->dev, |
867 | "32-bit DMA enable failed\n"); | 867 | "32-bit DMA enable failed\n"); |
868 | return rc; | 868 | return rc; |
869 | } | 869 | } |
870 | 870 | ||
871 | rc = pci_set_consistent_dma_mask(pdev, DMA_32BIT_MASK); | 871 | rc = pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(32)); |
872 | if (rc) { | 872 | if (rc) { |
873 | dev_printk(KERN_ERR, &pdev->dev, | 873 | dev_printk(KERN_ERR, &pdev->dev, |
874 | "32-bit consistent DMA enable failed\n"); | 874 | "32-bit consistent DMA enable failed\n"); |