Skip to content

Commit

Permalink
[PATCH] libata: do not ignore PIO-only devices
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tejun Heo authored and Jeff Garzik committed Mar 23, 2006
1 parent 67951ad commit f0c8bbf
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions drivers/scsi/libata-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit f0c8bbf

Please sign in to comment.