diff options
Diffstat (limited to 'drivers/ata/sata_qstor.c')
-rw-r--r-- | drivers/ata/sata_qstor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/sata_qstor.c b/drivers/ata/sata_qstor.c index c3936d35cdac..7b37c27d7972 100644 --- a/drivers/ata/sata_qstor.c +++ b/drivers/ata/sata_qstor.c | |||
@@ -584,8 +584,8 @@ static int qs_set_dma_masks(struct pci_dev *pdev, void __iomem *mmio_base) | |||
584 | int rc, have_64bit_bus = (bus_info & QS_HPHY_64BIT); | 584 | int rc, have_64bit_bus = (bus_info & QS_HPHY_64BIT); |
585 | 585 | ||
586 | if (have_64bit_bus && | 586 | if (have_64bit_bus && |
587 | !pci_set_dma_mask(pdev, DMA_64BIT_MASK)) { | 587 | !pci_set_dma_mask(pdev, DMA_BIT_MASK(64))) { |
588 | rc = pci_set_consistent_dma_mask(pdev, DMA_64BIT_MASK); | 588 | rc = pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(64)); |
589 | if (rc) { | 589 | if (rc) { |
590 | rc = pci_set_consistent_dma_mask(pdev, DMA_32BIT_MASK); | 590 | rc = pci_set_consistent_dma_mask(pdev, DMA_32BIT_MASK); |
591 | if (rc) { | 591 | if (rc) { |