qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [ide] why does WIN_DIAGNOSE not set READY_STAT
@ 2008-01-10  1:47 Till Straumann
  0 siblings, 0 replies; only message in thread
From: Till Straumann @ 2008-01-10  1:47 UTC (permalink / raw)
  To: qemu-devel; +Cc: RTEMS Users

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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-01-10  1:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-10  1:47 [Qemu-devel] [ide] why does WIN_DIAGNOSE not set READY_STAT Till Straumann

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).