diff options
Diffstat (limited to 'drivers/scsi/ips.c')
-rw-r--r-- | drivers/scsi/ips.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/ips.c b/drivers/scsi/ips.c index 457d76a4cfe5..f83a116955f2 100644 --- a/drivers/scsi/ips.c +++ b/drivers/scsi/ips.c | |||
@@ -7048,10 +7048,10 @@ ips_init_phase1(struct pci_dev *pci_dev, int *indexPtr) | |||
7048 | * are guaranteed to be < 4G. | 7048 | * are guaranteed to be < 4G. |
7049 | */ | 7049 | */ |
7050 | if (IPS_ENABLE_DMA64 && IPS_HAS_ENH_SGLIST(ha) && | 7050 | if (IPS_ENABLE_DMA64 && IPS_HAS_ENH_SGLIST(ha) && |
7051 | !pci_set_dma_mask(ha->pcidev, DMA_64BIT_MASK)) { | 7051 | !pci_set_dma_mask(ha->pcidev, DMA_BIT_MASK(64))) { |
7052 | (ha)->flags |= IPS_HA_ENH_SG; | 7052 | (ha)->flags |= IPS_HA_ENH_SG; |
7053 | } else { | 7053 | } else { |
7054 | if (pci_set_dma_mask(ha->pcidev, DMA_32BIT_MASK) != 0) { | 7054 | if (pci_set_dma_mask(ha->pcidev, DMA_BIT_MASK(32)) != 0) { |
7055 | printk(KERN_WARNING "Unable to set DMA Mask\n"); | 7055 | printk(KERN_WARNING "Unable to set DMA Mask\n"); |
7056 | return ips_abort_init(ha, index); | 7056 | return ips_abort_init(ha, index); |
7057 | } | 7057 | } |