aboutsummaryrefslogtreecommitdiff
path: root/hw/esp.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-06-25 19:59:53 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-06-25 19:59:53 +0000
commita214c59855bc9d5dd509588160361f1cb0b4e8d8 (patch)
tree9392dc932cda989d9efc2306e20c0850b13567a1 /hw/esp.c
parent399bf6bec92db4d144bb684d7c4f8174e019cb5c (diff)
Suppress OpenBSD warning messages for leftover fifo bytes
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4791 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 1843fb895c..0a8b3e4d8c 100644
--- a/hw/esp.c
+++ b/hw/esp.c
@@ -496,6 +496,7 @@ static void esp_mem_writeb(void *opaque, target_phys_addr_t addr, uint32_t val)
//s->ti_size = 0;
s->rregs[ESP_RINTR] = INTR_FC;
s->rregs[ESP_RSEQ] = 0;
+ s->rregs[ESP_RFLAGS] = 0;
break;
case CMD_RESET:
DPRINTF("Chip reset (%2.2x)\n", val);