projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82cf2bc
)
lsi: return dfifo value
author
Sven Schnelle
<svens@stackframe.org>
Tue, 5 Mar 2019 19:55:19 +0000
(20:55 +0100)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Mon, 11 Mar 2019 15:33:49 +0000
(16:33 +0100)
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>
hw/scsi/lsi53c895a.c
patch
|
blob
|
history
diff --git
a/hw/scsi/lsi53c895a.c
b/hw/scsi/lsi53c895a.c
index 66f217f8f667d62ac65b26a7dff4bc21db5dff36..bf6b6a52f1c621462b23b4ad22b38bfeb5111d22 100644
(file)
--- a/
hw/scsi/lsi53c895a.c
+++ b/
hw/scsi/lsi53c895a.c
@@
-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;