From: Matthew Garrett <mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: RE: Resuming IDE devices with ACPI
Date: Tue, 10 May 2005 09:17:42 +0100 [thread overview]
Message-ID: <1115713062.7884.72.camel@tyrosine> (raw)
In-Reply-To: <16A54BF5D6E14E4D916CE26C9AD3057501E5F857-4yWAQGcml66iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org>
On Tue, 2005-05-10 at 08:55 +0800, Li, Shaohua wrote:
> I have an internal patch which can get IDE's ACPI device (currently only
> support PCI IDE controller) and execute _GTF, _GTM and _STM at
> suspend/resume. Unfortunately, I'm not familiar with IDE, so I don't
> know how to invoke the IDE commands returned from _GTF at resume.
> I sent an email to IDE list for help, but got no response :(.
> I believe it's a quite generic suspend/resume bug. Did anybody know
> Linux IDE in the list? If you need more info such as the IDE commands
> from one of my system, please let me know.
I /believe/ that it the buffer returned from _GTF just needs to be split
into 7-byte chunks and then fed to taskfile_output_data. This seems to
be what happens when taskfile commands are triggered by IDE ioctls (see
the hdparm or smartmontools source code, for example). Is your patch
available anywhere for testing?
Thanks,
--
Matthew Garrett | mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
next prev parent reply other threads:[~2005-05-10 8:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-10 0:55 Resuming IDE devices with ACPI Li, Shaohua
[not found] ` <16A54BF5D6E14E4D916CE26C9AD3057501E5F857-4yWAQGcml66iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2005-05-10 8:17 ` Matthew Garrett [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-05-09 13:51 Matthew Garrett
[not found] ` <1115646660.27559.16.camel-Xmbc1Sz64/5pghhO6/9/sx2eb7JE58TQ@public.gmane.org>
2005-05-09 16:01 ` Alan Cox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1115713062.7884.72.camel@tyrosine \
--to=mjg59-1xo5oi07kqx4cg9nei1l7q@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox