Commit b2526300 authored by Len Brown's avatar Len Brown

Pull bugzilla-7907 into release branch

parents cb2ebc59 df33c77e
...@@ -576,6 +576,13 @@ int ata_acpi_exec_tfs(struct ata_port *ap) ...@@ -576,6 +576,13 @@ int ata_acpi_exec_tfs(struct ata_port *ap)
if (noacpi) if (noacpi)
return 0; return 0;
/*
* TBD - implement PATA support. For now,
* we should not run GTF on PATA devices since some
* PATA require execution of GTM/STM before GTF.
*/
if (!(ap->cbl == ATA_CBL_SATA))
return 0;
for (ix = 0; ix < ATA_MAX_DEVICES; ix++) { for (ix = 0; ix < ATA_MAX_DEVICES; ix++) {
if (!ata_dev_enabled(&ap->device[ix])) if (!ata_dev_enabled(&ap->device[ix]))
......
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