aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2006-03-22 06:48:18 -0500
committerJeff Garzik <jeff@garzik.org>2006-03-22 19:56:53 -0500
commitf0c8bbfa154f4481623a4478b0ae94a6ceeaa026 (patch)
treeb39c25092a6a13c2c7c60234b50503f23571ef11 /drivers
parent67951aded31a1a736c1f0f6e8317677ea6c21ee1 (diff)
[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 <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/libata-core.c7
1 files changed, 0 insertions, 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,
1221 * common ATA, ATAPI feature tests 1221 * common ATA, ATAPI feature tests
1222 */ 1222 */
1223 1223
1224 /* we require DMA support (bits 8 of word 49) */
1225 if (!ata_id_has_dma(id)) {
1226 printk(KERN_DEBUG "ata%u: no dma\n", ap->id);
1227 rc = -EINVAL;
1228 goto err_out_nosup;
1229 }
1230
1231 /* find max transfer mode; for printk only */ 1224 /* find max transfer mode; for printk only */
1232 xfer_mask = ata_id_xfermask(id); 1225 xfer_mask = ata_id_xfermask(id);
1233 1226