Commit 38453b93dde5aa7693ee271275f7c71ed9003f96

Authored by balrog
1 parent 044fae83

Set READY_STAT after a WIN_DIAGNOSE per ATA-3 (Till Straumann).


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3912 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 1 deletions
hw/ide.c
... ... @@ -2141,7 +2141,7 @@ static void ide_ioport_write(void *opaque, uint32_t addr, uint32_t val)
2141 2141 break;
2142 2142 case WIN_DIAGNOSE:
2143 2143 ide_set_signature(s);
2144   - s->status = 0x00; /* NOTE: READY is _not_ set */
  2144 + s->status = READY_STAT;
2145 2145 s->error = 0x01;
2146 2146 ide_set_irq(s);
2147 2147 break;
... ...