Commit e424675f authored by Jeff Garzik's avatar Jeff Garzik

[libata] turn on !IORDY filter

The previous commit erroneously noted that the !IORDY filter was turned
on.  No true, that change was split out into this commit.

Originally authored and signed-off-by Alan Cox.
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent cffacd85
...@@ -3544,6 +3544,9 @@ static void ata_dev_xfermask(struct ata_device *dev) ...@@ -3544,6 +3544,9 @@ static void ata_dev_xfermask(struct ata_device *dev)
"other device, disabling DMA\n"); "other device, disabling DMA\n");
} }
if (ap->flags & ATA_FLAG_NO_IORDY)
xfer_mask &= ata_pio_mask_no_iordy(dev);
if (ap->ops->mode_filter) if (ap->ops->mode_filter)
xfer_mask = ap->ops->mode_filter(dev, xfer_mask); xfer_mask = ap->ops->mode_filter(dev, xfer_mask);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment