Re: [patch 1/2] libata: _GTF support
From: Andrey Borzenkov
Date: Sun Oct 01 2006 - 13:02:49 EST
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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/