aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla4xxx/ql4_os.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/qla4xxx/ql4_os.c')
-rw-r--r--drivers/scsi/qla4xxx/ql4_os.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c
index d427fab7a183..ec9da6ce8489 100644
--- a/drivers/scsi/qla4xxx/ql4_os.c
+++ b/drivers/scsi/qla4xxx/ql4_os.c
@@ -1375,10 +1375,10 @@ static void qla4xxx_config_dma_addressing(struct scsi_qla_host *ha)
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");
1377 retval = pci_set_consistent_dma_mask(ha->pdev, 1377 retval = pci_set_consistent_dma_mask(ha->pdev,
1378 DMA_32BIT_MASK); 1378 DMA_BIT_MASK(32));
1379 } 1379 }
1380 } else 1380 } else
1381 retval = pci_set_dma_mask(ha->pdev, DMA_32BIT_MASK); 1381 retval = pci_set_dma_mask(ha->pdev, DMA_BIT_MASK(32));
1382} 1382}
1383 1383
1384static int qla4xxx_slave_alloc(struct scsi_device *sdev) 1384static int qla4xxx_slave_alloc(struct scsi_device *sdev)