Patchwork [4/7] lsi53c895a: Fix message code of DISCONNECT

login
register
mail settings
Submitter Jan Kiszka
Date Nov. 19, 2009, 10:07 a.m.
Message ID <20091119100712.16666.6924.stgit@mchn012c.ww002.siemens.net>
Download mbox | patch
Permalink /patch/38822/
State New
Headers show

Comments

Jan Kiszka - Nov. 19, 2009, 10:07 a.m.
From: Laszlo Ast <laszlo.ast@siemens-enterprise.com>

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

 hw/lsi53c895a.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/hw/lsi53c895a.c b/hw/lsi53c895a.c
index ee69b0a..2fb928d 100644
--- a/hw/lsi53c895a.c
+++ b/hw/lsi53c895a.c
@@ -788,7 +788,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;