[ide] why does WIN_DIAGNOSE not set READY_STAT

Till Straumann strauman at slac.stanford.edu
Thu Jan 10 01:47:10 UTC 2008


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)




More information about the users mailing list