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

From: Kristen Carlson Accardi
Date: Mon Oct 02 2006 - 12:46:11 EST


On Sun, 01 Oct 2006 21:02:21 +0400
Andrey Borzenkov <arvidjaar@xxxxxxx> wrote:

> 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

Hi Andrey
On Friday I submitted another patch which changes where this is executed.
http://marc.theaimsgroup.com/?l=linux-ide&m=115957671114738&w=2

Hopefully this will work better for you.

Kristen
-
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/