mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
[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>
This commit is contained in:
parent
67951aded3
commit
f0c8bbfa15
@ -1221,13 +1221,6 @@ static int ata_dev_configure(struct ata_port *ap, struct ata_device *dev,
|
|||||||
* common ATA, ATAPI feature tests
|
* 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 */
|
/* find max transfer mode; for printk only */
|
||||||
xfer_mask = ata_id_xfermask(id);
|
xfer_mask = ata_id_xfermask(id);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user