[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PULL 31/74] lsi_scsi: add support for PPR Extended Message

From: Paolo Bonzini
Subject: [Qemu-devel] [PULL 31/74] lsi_scsi: add support for PPR Extended Message
Date: Tue, 21 Aug 2018 19:02:03 +0200

From: George Kennedy <address@hidden>

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.

Signed-off-by: George Kennedy <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
 hw/scsi/lsi53c895a.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/hw/scsi/lsi53c895a.c b/hw/scsi/lsi53c895a.c
index 160657f..955ba94 100644
--- a/hw/scsi/lsi53c895a.c
+++ b/hw/scsi/lsi53c895a.c
@@ -959,6 +959,10 @@ static void lsi_do_msgout(LSIState *s)
                 DPRINTF("WDTR (ignored)\n");
                 lsi_skip_msgbytes(s, 1);
+            case 4:
+                DPRINTF("PPR (ignored)\n");
+                lsi_skip_msgbytes(s, 5);
+                break;
                 goto bad;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]