lkml.org 
[lkml]   [2006]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 1/2] libata: _GTF support
On Sun, 01 Oct 2006 21:02:21 +0400
Andrey Borzenkov <arvidjaar@mail.ru> 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-10-02 18:49    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site