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:
Sven Schnelle 2019-03-05 20:55:19 +01:00 committed by Paolo Bonzini
parent 82cf2bcfe6
commit 07163c99a9

View File

@ -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;