diff options
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_os.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_os.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index efe29924e058..f60e136b5e1b 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c | |||
@@ -1176,10 +1176,10 @@ qla2x00_config_dma_addressing(struct qla_hw_data *ha) | |||
1176 | /* Assume a 32bit DMA mask. */ | 1176 | /* Assume a 32bit DMA mask. */ |
1177 | ha->flags.enable_64bit_addressing = 0; | 1177 | ha->flags.enable_64bit_addressing = 0; |
1178 | 1178 | ||
1179 | if (!dma_set_mask(&ha->pdev->dev, DMA_64BIT_MASK)) { | 1179 | if (!dma_set_mask(&ha->pdev->dev, DMA_BIT_MASK(64))) { |
1180 | /* Any upper-dword bits set? */ | 1180 | /* Any upper-dword bits set? */ |
1181 | if (MSD(dma_get_required_mask(&ha->pdev->dev)) && | 1181 | if (MSD(dma_get_required_mask(&ha->pdev->dev)) && |
1182 | !pci_set_consistent_dma_mask(ha->pdev, DMA_64BIT_MASK)) { | 1182 | !pci_set_consistent_dma_mask(ha->pdev, DMA_BIT_MASK(64))) { |
1183 | /* Ok, a 64bit DMA mask is applicable. */ | 1183 | /* Ok, a 64bit DMA mask is applicable. */ |
1184 | ha->flags.enable_64bit_addressing = 1; | 1184 | ha->flags.enable_64bit_addressing = 1; |
1185 | ha->isp_ops->calc_req_entries = qla2x00_calc_iocbs_64; | 1185 | ha->isp_ops->calc_req_entries = qla2x00_calc_iocbs_64; |