[PATCH] libata: do not ignore PIO-only devices
authorTejun Heo <htejun@gmail.com>
Wed, 22 Mar 2006 11:48:18 +0000 (20:48 +0900)
committerJeff Garzik <jeff@garzik.org>
Thu, 23 Mar 2006 00:56:53 +0000 (19:56 -0500)
As libata now can do PIO, don't ignore PIO-only devices.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/scsi/libata-core.c

index f4e3071..0314abd 100644 (file)
@@ -1221,13 +1221,6 @@ static int ata_dev_configure(struct ata_port *ap, struct ata_device *dev,
         * common ATA, ATAPI feature tests
         */
 
-       /* we require DMA support (bits 8 of word 49) */
-       if (!ata_id_has_dma(id)) {
-               printk(KERN_DEBUG "ata%u: no dma\n", ap->id);
-               rc = -EINVAL;
-               goto err_out_nosup;
-       }
-
        /* find max transfer mode; for printk only */
        xfer_mask = ata_id_xfermask(id);