mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
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
This commit is contained in:
parent
044fae83ad
commit
38453b93dd
1 changed files with 1 additions and 1 deletions
2
hw/ide.c
2
hw/ide.c
|
@ -2141,7 +2141,7 @@ static void ide_ioport_write(void *opaque, uint32_t addr, uint32_t val)
|
|||
break;
|
||||
case WIN_DIAGNOSE:
|
||||
ide_set_signature(s);
|
||||
s->status = 0x00; /* NOTE: READY is _not_ set */
|
||||
s->status = READY_STAT;
|
||||
s->error = 0x01;
|
||||
ide_set_irq(s);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue