diff options
Diffstat (limited to 'drivers/ata/libata-acpi.c')
-rw-r--r-- | drivers/ata/libata-acpi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ata/libata-acpi.c b/drivers/ata/libata-acpi.c index 03a0acff6cfa..cb3eab6e379d 100644 --- a/drivers/ata/libata-acpi.c +++ b/drivers/ata/libata-acpi.c | |||
@@ -489,8 +489,7 @@ static void taskfile_load_raw(struct ata_port *ap, | |||
489 | 489 | ||
490 | /* convert gtf to tf */ | 490 | /* convert gtf to tf */ |
491 | tf.flags |= ATA_TFLAG_ISADDR | ATA_TFLAG_DEVICE; /* TBD */ | 491 | tf.flags |= ATA_TFLAG_ISADDR | ATA_TFLAG_DEVICE; /* TBD */ |
492 | tf.protocol = atadev->class == ATA_DEV_ATAPI ? | 492 | tf.protocol = ATA_PROT_NODATA; |
493 | ATA_PROT_ATAPI_NODATA : ATA_PROT_NODATA; | ||
494 | tf.feature = gtf->tfa[0]; /* 0x1f1 */ | 493 | tf.feature = gtf->tfa[0]; /* 0x1f1 */ |
495 | tf.nsect = gtf->tfa[1]; /* 0x1f2 */ | 494 | tf.nsect = gtf->tfa[1]; /* 0x1f2 */ |
496 | tf.lbal = gtf->tfa[2]; /* 0x1f3 */ | 495 | tf.lbal = gtf->tfa[2]; /* 0x1f3 */ |