From 966a09fac1e8d81738415a9f7e17f8f7cf458288 Mon Sep 17 00:00:00 2001 From: George Kennedy Date: Fri, 17 Aug 2018 19:25:48 +0200 Subject: lsi_scsi: add support for PPR Extended Message 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 Signed-off-by: Paolo Bonzini --- hw/scsi/lsi53c895a.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'hw/scsi') diff --git a/hw/scsi/lsi53c895a.c b/hw/scsi/lsi53c895a.c index 160657f4b9..955ba94800 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); break; + case 4: + DPRINTF("PPR (ignored)\n"); + lsi_skip_msgbytes(s, 5); + break; default: goto bad; } -- cgit v1.2.3