From: Alan Cox Date: Tue, 21 Mar 2006 15:57:00 +0000 (+0000) Subject: [PATCH] libata: Note weakness in our PCI handling that one day wants fixing X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=41bbc8bf1ab0e3e7cda1a0334176a9aa3986cd30;p=openwrt%2Fstaging%2Fblogic.git [PATCH] libata: Note weakness in our PCI handling that one day wants fixing Signed-off-by: Jeff Garzik --- diff --git a/drivers/scsi/libata-bmdma.c b/drivers/scsi/libata-bmdma.c index a93336adcd23..a89e44b21f4d 100644 --- a/drivers/scsi/libata-bmdma.c +++ b/drivers/scsi/libata-bmdma.c @@ -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;