qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: qemu-devel@nongnu.org
Cc: Laszlo Ast <laszlo.ast@siemens-enterprise.com>
Subject: [Qemu-devel] [PATCH 5/7] lsi53c895a: Fix SDID in SELECT ID command
Date: Thu, 19 Nov 2009 11:07:12 +0100	[thread overview]
Message-ID: <20091119100712.16666.55897.stgit@mchn012c.ww002.siemens.net> (raw)
In-Reply-To: <20091119100711.16666.2282.stgit@mchn012c.ww002.siemens.net>

From: Laszlo Ast <laszlo.ast@siemens-enterprise.com>

See SCRIPTS Programming Guide, 3.2.17 SELECT.

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

diff --git a/hw/lsi53c895a.c b/hw/lsi53c895a.c
index 2fb928d..4c638be 100644
--- a/hw/lsi53c895a.c
+++ b/hw/lsi53c895a.c
@@ -1028,7 +1028,7 @@ again:
             if (insn & (1 << 25)) {
                 id = read_dword(s, s->dsa + sxt24(insn));
             } else {
-                id = addr;
+                id = insn;
             }
             id = (id >> 16) & 0xf;
             if (insn & (1 << 26)) {

  parent reply	other threads:[~2009-11-19 10:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-19 10:07 [Qemu-devel] [PATCH 0/7] scsi & lsi53c895a fixes Jan Kiszka
2009-11-19 10:07 ` [Qemu-devel] [PATCH 4/7] lsi53c895a: Fix message code of DISCONNECT Jan Kiszka
2009-11-19 10:07 ` [Qemu-devel] [PATCH 7/7] lsi53c895a: Implement IRQ on reselection Jan Kiszka
2009-11-19 10:07 ` [Qemu-devel] [PATCH 3/7] lsi53c895a: Add support for LSI53C700 Family Compatibility bit Jan Kiszka
2009-11-19 10:07 ` Jan Kiszka [this message]
2009-11-19 10:07 ` [Qemu-devel] [PATCH 6/7] lsi53c895a: Use alternative address when already reselected Jan Kiszka
2009-11-19 10:07 ` [Qemu-devel] [PATCH 1/7] SCSI: Fix Standard INQUIRY data Jan Kiszka
2009-11-19 10:07 ` [Qemu-devel] [PATCH 2/7] lsi53c895a: Whitespace and typo fixes Jan Kiszka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091119100712.16666.55897.stgit@mchn012c.ww002.siemens.net \
    --to=jan.kiszka@siemens.com \
    --cc=laszlo.ast@siemens-enterprise.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).