aboutsummaryrefslogtreecommitdiff
path: root/hw/slavio_serial.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2007-12-27 20:24:15 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2007-12-27 20:24:15 +0000
commitf48c537da28b82bdecfbc2de2a7d091ec48cdd12 (patch)
tree9d3896d8897a33713873c7dbbcfbb1191ad4d28f /hw/slavio_serial.c
parent85e3023e2f081b9302ca5ea0705212d7e49e00dd (diff)
Reset status contains all sent flag
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3863 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/slavio_serial.c')
-rw-r--r--hw/slavio_serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/slavio_serial.c b/hw/slavio_serial.c
index baec120efc..e0158a8495 100644
--- a/hw/slavio_serial.c
+++ b/hw/slavio_serial.c
@@ -305,7 +305,7 @@ static void slavio_serial_reset_chn(ChannelState *s)
STATUS_CTS | STATUS_TXUNDRN;
else
s->rregs[R_STATUS] = STATUS_TXEMPTY | STATUS_TXUNDRN;
- s->rregs[R_SPEC] = SPEC_BITS8;
+ s->rregs[R_SPEC] = SPEC_BITS8 | SPEC_ALLSENT;
s->rx = s->tx = 0;
s->rxint = s->txint = 0;