From: Till Straumann <strauman@slac.stanford.edu>
To: qemu-devel@nongnu.org
Cc: RTEMS Users <rtems-users@rtems.org>
Subject: [Qemu-devel] [ide] why does WIN_DIAGNOSE not set READY_STAT
Date: Wed, 09 Jan 2008 17:47:10 -0800 [thread overview]
Message-ID: <4785791E.4060600@slac.stanford.edu> (raw)
Hi.
I found that the RTEMS ATA driver hangs
because it waits for READY_STAT to be asserted
after issuing a WIN_DIAGNOSE command.
In hw/ide.c we find
> case WIN_DIAGNOSE:
> ide_set_signature(s);
> s->status = 0x00; /* NOTE: READY is _not_ set */
> s->error = 0x01;
> ide_set_irq(s);
> break;
but if I look at some ATA-3 (draft) document I found
linked from wikipedia
(here:
http://www.t10.org/t13/project/d2008r7b-ATA-3.pdf
)
I find (pp 45,46) that the READY bit in fact should be set.
??
Regards
-- Till
(PS please CC-me on any replies, I'm not a subscriber)
reply other threads:[~2008-01-10 1:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4785791E.4060600@slac.stanford.edu \
--to=strauman@slac.stanford.edu \
--cc=qemu-devel@nongnu.org \
--cc=rtems-users@rtems.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;
as well as URLs for NNTP newsgroup(s).