aboutsummaryrefslogtreecommitdiff
path: root/hw/lsi53c895a.c
diff options
context:
space:
mode:
authorLaszlo Ast <laszlo.ast@siemens-enterprise.com>2009-11-19 11:07:12 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-03 09:41:40 -0600
commit77203ea00b3abc8246722a0e6f982c2932387a09 (patch)
tree89bbb1dfa3d164f8e6ae33720f4a9318525229a3 /hw/lsi53c895a.c
parentcc9f28bc2a95eb96959c39ce498800bbd95cc77b (diff)
downloadqemu-77203ea00b3abc8246722a0e6f982c2932387a09.zip
qemu-77203ea00b3abc8246722a0e6f982c2932387a09.tar.gz
qemu-77203ea00b3abc8246722a0e6f982c2932387a09.tar.bz2
lsi53c895a: Fix message code of DISCONNECT
See SCSI-2, 6.5 Message system description/message codes. Signed-off-by: Laszlo Ast <laszlo.ast@siemens-enterprise.com> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/lsi53c895a.c')
-rw-r--r--hw/lsi53c895a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/lsi53c895a.c b/hw/lsi53c895a.c
index 0c5e50a..f466824 100644
--- a/hw/lsi53c895a.c
+++ b/hw/lsi53c895a.c
@@ -790,7 +790,7 @@ static void lsi_do_msgout(LSIState *s)
s->sfbr = msg;
switch (msg) {
- case 0x00:
+ case 0x04:
DPRINTF("MSG: Disconnect\n");
lsi_disconnect(s);
break;