diff options
Diffstat (limited to 'drivers/scsi/megaraid.c')
-rw-r--r-- | drivers/scsi/megaraid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/megaraid.c b/drivers/scsi/megaraid.c index 9fdcd60c5493..112991d46d95 100644 --- a/drivers/scsi/megaraid.c +++ b/drivers/scsi/megaraid.c | |||
@@ -4793,7 +4793,7 @@ megaraid_probe_one(struct pci_dev *pdev, const struct pci_device_id *id) | |||
4793 | 4793 | ||
4794 | /* Set the Mode of addressing to 64 bit if we can */ | 4794 | /* Set the Mode of addressing to 64 bit if we can */ |
4795 | if ((adapter->flag & BOARD_64BIT) && (sizeof(dma_addr_t) == 8)) { | 4795 | if ((adapter->flag & BOARD_64BIT) && (sizeof(dma_addr_t) == 8)) { |
4796 | pci_set_dma_mask(pdev, DMA_64BIT_MASK); | 4796 | pci_set_dma_mask(pdev, DMA_BIT_MASK(64)); |
4797 | adapter->has_64bit_addr = 1; | 4797 | adapter->has_64bit_addr = 1; |
4798 | } else { | 4798 | } else { |
4799 | pci_set_dma_mask(pdev, DMA_32BIT_MASK); | 4799 | pci_set_dma_mask(pdev, DMA_32BIT_MASK); |