[PATCH] libata: Note weakness in our PCI handling that one day wants fixing

Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
Alan Cox 2006-03-21 15:57:00 +00:00 committed by Jeff Garzik
parent db7f44d96e
commit 41bbc8bf1a
1 changed files with 1 additions and 0 deletions

View File

@ -648,6 +648,7 @@ int ata_pci_init_one (struct pci_dev *pdev, struct ata_port_info **port_info,
goto err_out_regions;
}
/* FIXME: If we get no DMA mask we should fall back to PIO */
rc = pci_set_dma_mask(pdev, ATA_DMA_MASK);
if (rc)
goto err_out_regions;