aboutsummaryrefslogtreecommitdiff
path: root/hw/esp.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-29 16:51:42 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-29 16:51:42 +0000
commite3926838a8c081a99eccc49c77eca5eb02bea950 (patch)
treed06d8b478f649b0dc2c238b1bf871a3b8ad2296b /hw/esp.c
parentFix command len detection (esp_3_cmdlen.diff) (diff)
downloadqemu-kvm-e3926838a8c081a99eccc49c77eca5eb02bea950.tar.gz
qemu-kvm-e3926838a8c081a99eccc49c77eca5eb02bea950.tar.bz2
qemu-kvm-e3926838a8c081a99eccc49c77eca5eb02bea950.zip
Fix 'enable selection' command (esp_4_ensel.diff)
Indicate success after 'enable selection' command Signed-off-by: Herve Poussineau <hpoussin@reactos.org> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5814 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/esp.c')
-rw-r--r--hw/esp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/esp.c b/hw/esp.c
index 10c465f4d..bce85262f 100644
--- a/hw/esp.c
+++ b/hw/esp.c
@@ -537,6 +537,7 @@ static void esp_mem_writeb(void *opaque, target_phys_addr_t addr, uint32_t val)
break;
case CMD_ENSEL:
DPRINTF("Enable selection (%2.2x)\n", val);
+ s->rregs[ESP_RINTR] = 0;
break;
default:
ESP_ERROR("Unhandled ESP command (%2.2x)\n", val);