diff options
Diffstat (limited to 'drivers/scsi/qla1280.c')
-rw-r--r-- | drivers/scsi/qla1280.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/qla1280.c b/drivers/scsi/qla1280.c index 18f7f98ba571..687dcf2d0154 100644 --- a/drivers/scsi/qla1280.c +++ b/drivers/scsi/qla1280.c | |||
@@ -4276,7 +4276,7 @@ qla1280_probe_one(struct pci_dev *pdev, const struct pci_device_id *id) | |||
4276 | 4276 | ||
4277 | #ifdef QLA_64BIT_PTR | 4277 | #ifdef QLA_64BIT_PTR |
4278 | if (pci_set_dma_mask(ha->pdev, DMA_BIT_MASK(64))) { | 4278 | if (pci_set_dma_mask(ha->pdev, DMA_BIT_MASK(64))) { |
4279 | if (pci_set_dma_mask(ha->pdev, DMA_32BIT_MASK)) { | 4279 | if (pci_set_dma_mask(ha->pdev, DMA_BIT_MASK(32))) { |
4280 | printk(KERN_WARNING "scsi(%li): Unable to set a " | 4280 | printk(KERN_WARNING "scsi(%li): Unable to set a " |
4281 | "suitable DMA mask - aborting\n", ha->host_no); | 4281 | "suitable DMA mask - aborting\n", ha->host_no); |
4282 | error = -ENODEV; | 4282 | error = -ENODEV; |
@@ -4286,7 +4286,7 @@ qla1280_probe_one(struct pci_dev *pdev, const struct pci_device_id *id) | |||
4286 | dprintk(2, "scsi(%li): 64 Bit PCI Addressing Enabled\n", | 4286 | dprintk(2, "scsi(%li): 64 Bit PCI Addressing Enabled\n", |
4287 | ha->host_no); | 4287 | ha->host_no); |
4288 | #else | 4288 | #else |
4289 | if (pci_set_dma_mask(ha->pdev, DMA_32BIT_MASK)) { | 4289 | if (pci_set_dma_mask(ha->pdev, DMA_BIT_MASK(32))) { |
4290 | printk(KERN_WARNING "scsi(%li): Unable to set a " | 4290 | printk(KERN_WARNING "scsi(%li): Unable to set a " |
4291 | "suitable DMA mask - aborting\n", ha->host_no); | 4291 | "suitable DMA mask - aborting\n", ha->host_no); |
4292 | error = -ENODEV; | 4292 | error = -ENODEV; |