diff options
| -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 019d8ffdde50..c428a56e6f31 100644 --- a/drivers/ata/libata-acpi.c +++ b/drivers/ata/libata-acpi.c | |||
| @@ -576,6 +576,13 @@ int ata_acpi_exec_tfs(struct ata_port *ap) | |||
| 576 | 576 | ||
| 577 | if (noacpi) | 577 | if (noacpi) |
| 578 | return 0; | 578 | return 0; |
| 579 | /* | ||
| 580 | * TBD - implement PATA support. For now, | ||
| 581 | * we should not run GTF on PATA devices since some | ||
| 582 | * PATA require execution of GTM/STM before GTF. | ||
| 583 | */ | ||
| 584 | if (!(ap->cbl == ATA_CBL_SATA)) | ||
| 585 | return 0; | ||
| 579 | 586 | ||
| 580 | for (ix = 0; ix < ATA_MAX_DEVICES; ix++) { | 587 | for (ix = 0; ix < ATA_MAX_DEVICES; ix++) { |
| 581 | if (!ata_dev_enabled(&ap->device[ix])) | 588 | if (!ata_dev_enabled(&ap->device[ix])) |
