diff options
Diffstat (limited to 'drivers/scsi/mvsas.c')
-rw-r--r-- | drivers/scsi/mvsas.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/mvsas.c b/drivers/scsi/mvsas.c index 23e5a876bb10..d8093a288438 100644 --- a/drivers/scsi/mvsas.c +++ b/drivers/scsi/mvsas.c | |||
@@ -875,8 +875,8 @@ static int pci_go_64(struct pci_dev *pdev) | |||
875 | { | 875 | { |
876 | int rc; | 876 | int rc; |
877 | 877 | ||
878 | if (!pci_set_dma_mask(pdev, DMA_64BIT_MASK)) { | 878 | if (!pci_set_dma_mask(pdev, DMA_BIT_MASK(64))) { |
879 | rc = pci_set_consistent_dma_mask(pdev, DMA_64BIT_MASK); | 879 | rc = pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(64)); |
880 | if (rc) { | 880 | if (rc) { |
881 | rc = pci_set_consistent_dma_mask(pdev, DMA_32BIT_MASK); | 881 | rc = pci_set_consistent_dma_mask(pdev, DMA_32BIT_MASK); |
882 | if (rc) { | 882 | if (rc) { |