diff options
Diffstat (limited to 'drivers/scsi/qla4xxx/ql4_os.c')
-rw-r--r-- | drivers/scsi/qla4xxx/ql4_os.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c index eb3a414b189a..d427fab7a183 100644 --- a/drivers/scsi/qla4xxx/ql4_os.c +++ b/drivers/scsi/qla4xxx/ql4_os.c | |||
@@ -1369,8 +1369,8 @@ static void qla4xxx_config_dma_addressing(struct scsi_qla_host *ha) | |||
1369 | int retval; | 1369 | int retval; |
1370 | 1370 | ||
1371 | /* Update our PCI device dma_mask for full 64 bit mask */ | 1371 | /* Update our PCI device dma_mask for full 64 bit mask */ |
1372 | if (pci_set_dma_mask(ha->pdev, DMA_64BIT_MASK) == 0) { | 1372 | if (pci_set_dma_mask(ha->pdev, DMA_BIT_MASK(64)) == 0) { |
1373 | if (pci_set_consistent_dma_mask(ha->pdev, DMA_64BIT_MASK)) { | 1373 | if (pci_set_consistent_dma_mask(ha->pdev, DMA_BIT_MASK(64))) { |
1374 | dev_dbg(&ha->pdev->dev, | 1374 | dev_dbg(&ha->pdev->dev, |
1375 | "Failed to set 64 bit PCI consistent mask; " | 1375 | "Failed to set 64 bit PCI consistent mask; " |
1376 | "using 32 bit.\n"); | 1376 | "using 32 bit.\n"); |