From f0c8bbfa154f4481623a4478b0ae94a6ceeaa026 Mon Sep 17 00:00:00 2001 From: Tejun Heo Date: Wed, 22 Mar 2006 20:48:18 +0900 Subject: [PATCH] [PATCH] libata: do not ignore PIO-only devices As libata now can do PIO, don't ignore PIO-only devices. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik --- drivers/scsi/libata-core.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/scsi/libata-core.c b/drivers/scsi/libata-core.c index f4e307104b7b..0314abd97f2d 100644 --- a/drivers/scsi/libata-core.c +++ b/drivers/scsi/libata-core.c @@ -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); -- 2.20.1