Fix partial transfer bug.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1943 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
7c22dd5216
commit
4be9a500e7
1
hw/esp.c
1
hw/esp.c
@ -214,7 +214,6 @@ static void handle_ti(ESPState *s)
|
|||||||
}
|
}
|
||||||
if (s->ti_size) {
|
if (s->ti_size) {
|
||||||
s->rregs[4] = STAT_IN | STAT_TC | (to_device ? STAT_DO : STAT_DI);
|
s->rregs[4] = STAT_IN | STAT_TC | (to_device ? STAT_DO : STAT_DI);
|
||||||
s->ti_size -= minlen;
|
|
||||||
}
|
}
|
||||||
s->rregs[5] = INTR_BS;
|
s->rregs[5] = INTR_BS;
|
||||||
s->rregs[6] = 0;
|
s->rregs[6] = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user