|
@@ -4293,7 +4293,7 @@ qla1280_probe_one(struct pci_dev *pdev, const struct pci_device_id *id)
|
|
ha->devnum = devnum; /* specifies microcode load address */
|
|
ha->devnum = devnum; /* specifies microcode load address */
|
|
|
|
|
|
#ifdef QLA_64BIT_PTR
|
|
#ifdef QLA_64BIT_PTR
|
|
- if (pci_set_dma_mask(ha->pdev, (dma_addr_t) ~ 0ULL)) {
|
|
|
|
|
|
+ if (pci_set_dma_mask(ha->pdev, DMA_64BIT_MASK)) {
|
|
if (pci_set_dma_mask(ha->pdev, DMA_32BIT_MASK)) {
|
|
if (pci_set_dma_mask(ha->pdev, DMA_32BIT_MASK)) {
|
|
printk(KERN_WARNING "scsi(%li): Unable to set a "
|
|
printk(KERN_WARNING "scsi(%li): Unable to set a "
|
|
"suitable DMA mask - aborting\n", ha->host_no);
|
|
"suitable DMA mask - aborting\n", ha->host_no);
|