mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
lsi: return dfifo value
Code was assigning DFIFO, but didn't return the value to users. Signed-off-by: Sven Schnelle <svens@stackframe.org> Message-Id: <20190305195519.24303-6-svens@stackframe.org>
This commit is contained in:
parent
82cf2bcfe6
commit
07163c99a9
1 changed files with 1 additions and 1 deletions
|
@ -1688,7 +1688,7 @@ static uint8_t lsi_reg_readb(LSIState *s, int offset)
|
|||
break;
|
||||
CASE_GET_REG32(temp, 0x1c)
|
||||
case 0x20: /* DFIFO */
|
||||
ret = 0;
|
||||
ret = s->dfifo;
|
||||
break;
|
||||
case 0x21: /* CTEST4 */
|
||||
ret = s->ctest4;
|
||||
|
|
Loading…
Reference in a new issue