diff options
author | Len Brown <len.brown@intel.com> | 2007-03-09 23:18:53 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-03-09 23:18:53 -0500 |
commit | b2526300ab242dc31f9006dbf9a4de40797571bc (patch) | |
tree | a22ef59b3eeb7de805b0a4c5af8c89677b8c604c /drivers/ata/libata-acpi.c | |
parent | cb2ebc59ff52cee770cfd6ba5f23a6cc3c214648 (diff) | |
parent | df33c77e3981e71afc8727ee5c432ba1a1bba68c (diff) |
Pull bugzilla-7907 into release branch
Diffstat (limited to 'drivers/ata/libata-acpi.c')
-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])) |