Re: [patch 1/2] libata: _GTF support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Kristen Carlson Accardi wrote:

> _GTF is an acpi method that is used to reinitialize the drive.  It returns
> a task file containing ata commands that are sent back to the drive to
> restore it to boot up defaults.
> 
[...]
> @@ -1597,6 +1601,9 @@ int ata_bus_probe(struct ata_port *ap)
>  /* reset and determine device classes */
>  ap->ops->phy_reset(ap);
>  
> +     /* retrieve and execute the ATA task file of _GTF */
> +     ata_acpi_exec_tfs(ap);
> +
>  for (i = 0; i < ATA_MAX_DEVICES; i++) {
>  dev = &ap->device[i];
>

ata_bus_probe() seems to be called only if driver does not provide own error
handler? Also would GTF be executed on resume? I hoped it may fix resume
from RAM problem I have but it looks like this is never executed in my case
(pata_ali).

TIA

-andrey

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux