diff options
Diffstat (limited to 'drivers/ata')
-rw-r--r-- | drivers/ata/libata-acpi.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/ata/libata-acpi.c b/drivers/ata/libata-acpi.c index d14a48e75f1b..89aaf749cd10 100644 --- a/drivers/ata/libata-acpi.c +++ b/drivers/ata/libata-acpi.c | |||
@@ -561,6 +561,13 @@ int ata_acpi_exec_tfs(struct ata_port *ap) | |||
561 | 561 | ||
562 | if (noacpi) | 562 | if (noacpi) |
563 | return 0; | 563 | return 0; |
564 | /* | ||
565 | * TBD - implement PATA support. For now, | ||
566 | * we should not run GTF on PATA devices since some | ||
567 | * PATA require execution of GTM/STM before GTF. | ||
568 | */ | ||
569 | if (!(ap->cbl == ATA_CBL_SATA)) | ||
570 | return 0; | ||
564 | 571 | ||
565 | for (ix = 0; ix < ATA_MAX_DEVICES; ix++) { | 572 | for (ix = 0; ix < ATA_MAX_DEVICES; ix++) { |
566 | if (!ata_dev_enabled(&ap->device[ix])) | 573 | if (!ata_dev_enabled(&ap->device[ix])) |