[PATCH] libata: Note weakness in our PCI handling that one day wants fixing
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Tue, 21 Mar 2006 15:57:00 +0000 (15:57 +0000)
committerJeff Garzik <jeff@garzik.org>
Wed, 22 Mar 2006 02:21:32 +0000 (21:21 -0500)
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/scsi/libata-bmdma.c

index a93336adcd23cf091a6efd6f4888177b6ee7c381..a89e44b21f4d576501980c1757939398cd7af408 100644 (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;