diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/qla1280.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla1280.c b/drivers/scsi/qla1280.c index 6777e8a69153..54d8bdf86852 100644 --- a/drivers/scsi/qla1280.c +++ b/drivers/scsi/qla1280.c | |||
@@ -4293,7 +4293,7 @@ qla1280_probe_one(struct pci_dev *pdev, const struct pci_device_id *id) | |||
4293 | ha->devnum = devnum; /* specifies microcode load address */ | 4293 | ha->devnum = devnum; /* specifies microcode load address */ |
4294 | 4294 | ||
4295 | #ifdef QLA_64BIT_PTR | 4295 | #ifdef QLA_64BIT_PTR |
4296 | if (pci_set_dma_mask(ha->pdev, (dma_addr_t) ~ 0ULL)) { | 4296 | if (pci_set_dma_mask(ha->pdev, DMA_64BIT_MASK)) { |
4297 | if (pci_set_dma_mask(ha->pdev, DMA_32BIT_MASK)) { | 4297 | if (pci_set_dma_mask(ha->pdev, DMA_32BIT_MASK)) { |
4298 | printk(KERN_WARNING "scsi(%li): Unable to set a " | 4298 | printk(KERN_WARNING "scsi(%li): Unable to set a " |
4299 | "suitable DMA mask - aborting\n", ha->host_no); | 4299 | "suitable DMA mask - aborting\n", ha->host_no); |