|
@@ -906,8 +906,7 @@ static int adpt_install_hba(struct scsi_host_template* sht, struct pci_dev* pDev
|
|
}
|
|
}
|
|
|
|
|
|
pci_set_master(pDev);
|
|
pci_set_master(pDev);
|
|
- if (pci_set_dma_mask(pDev, DMA_64BIT_MASK) &&
|
|
|
|
- pci_set_dma_mask(pDev, DMA_32BIT_MASK))
|
|
|
|
|
|
+ if (pci_set_dma_mask(pDev, DMA_32BIT_MASK))
|
|
return -EINVAL;
|
|
return -EINVAL;
|
|
|
|
|
|
base_addr0_phys = pci_resource_start(pDev,0);
|
|
base_addr0_phys = pci_resource_start(pDev,0);
|