Commit f48c537da28b82bdecfbc2de2a7d091ec48cdd12

Authored by blueswir1
1 parent 85e3023e

Reset status contains all sent flag


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3863 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 1 deletions
hw/slavio_serial.c
... ... @@ -305,7 +305,7 @@ static void slavio_serial_reset_chn(ChannelState *s)
305 305 STATUS_CTS | STATUS_TXUNDRN;
306 306 else
307 307 s->rregs[R_STATUS] = STATUS_TXEMPTY | STATUS_TXUNDRN;
308   - s->rregs[R_SPEC] = SPEC_BITS8;
  308 + s->rregs[R_SPEC] = SPEC_BITS8 | SPEC_ALLSENT;
309 309  
310 310 s->rx = s->tx = 0;
311 311 s->rxint = s->txint = 0;
... ...