From: George Kennedy <george.kennedy@oracle.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [Qemu-trivial] [PATCH] lsi_scsi: add support for PPR Extended Message
Date: Thu, 7 Dec 2017 10:25:35 -0500 [thread overview]
Message-ID: <a2b410dd-1150-16a4-9376-069117a14c98@oracle.com> (raw)
In-Reply-To: <1511980051-20457-2-git-send-email-george.kennedy@oracle.com>
The LSI 53c895a code does not handle the PPR Extended Message. Add support to handle PPR
Extended Message like SDTR and WDTR are handled. That is, to skip past the message
bytes and ignore the message.
---
hw/scsi/lsi53c895a.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/hw/scsi/lsi53c895a.c b/hw/scsi/lsi53c895a.c
index 595c260..1e02a89 100644
--- a/hw/scsi/lsi53c895a.c
+++ b/hw/scsi/lsi53c895a.c
@@ -961,6 +961,10 @@ static void lsi_do_msgout(LSIState *s)
DPRINTF("WDTR (ignored)\n");
lsi_skip_msgbytes(s, 1);
break;
+ case 4:
+ DPRINTF("PPR (ignored)\n");
+ lsi_skip_msgbytes(s, 5);
+ break;
default:
goto bad;
}
--
1.8.3.1
next parent reply other threads:[~2017-12-07 15:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1511980051-20457-2-git-send-email-george.kennedy@oracle.com>
2017-12-07 15:25 ` George Kennedy [this message]
2017-12-11 16:45 ` [Qemu-devel] [Qemu-trivial] [PATCH] lsi_scsi: add support for PPR Extended Message George Kennedy
2017-12-11 16:55 ` Paolo Bonzini
2017-12-11 17:11 ` George Kennedy
2018-08-17 17:26 ` Paolo Bonzini
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=a2b410dd-1150-16a4-9376-069117a14c98@oracle.com \
--to=george.kennedy@oracle.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).