|
@@ -581,10 +581,10 @@ static int fnic_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
|
|
|
pci_set_master(pdev);
|
|
|
|
|
|
/* Query PCI controller on system for DMA addressing
|
|
|
- * limitation for the device. Try 40-bit first, and
|
|
|
+ * limitation for the device. Try 64-bit first, and
|
|
|
* fail to 32-bit.
|
|
|
*/
|
|
|
- err = pci_set_dma_mask(pdev, DMA_BIT_MASK(40));
|
|
|
+ err = pci_set_dma_mask(pdev, DMA_BIT_MASK(64));
|
|
|
if (err) {
|
|
|
err = pci_set_dma_mask(pdev, DMA_BIT_MASK(32));
|
|
|
if (err) {
|
|
@@ -601,10 +601,10 @@ static int fnic_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
|
|
|
goto err_out_release_regions;
|
|
|
}
|
|
|
} else {
|
|
|
- err = pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(40));
|
|
|
+ err = pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(64));
|
|
|
if (err) {
|
|
|
shost_printk(KERN_ERR, fnic->lport->host,
|
|
|
- "Unable to obtain 40-bit DMA "
|
|
|
+ "Unable to obtain 64-bit DMA "
|
|
|
"for consistent allocations, aborting.\n");
|
|
|
goto err_out_release_regions;
|
|
|
}
|