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 <george.kennedy@oracle.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
George Kennedy 2018-08-17 19:25:48 +02:00 committed by Paolo Bonzini
parent e38bf61247
commit 966a09fac1
1 changed files with 4 additions and 0 deletions

View File

@ -959,6 +959,10 @@ static void lsi_do_msgout(LSIState *s)
DPRINTF("WDTR (ignored)\n"); DPRINTF("WDTR (ignored)\n");
lsi_skip_msgbytes(s, 1); lsi_skip_msgbytes(s, 1);
break; break;
case 4:
DPRINTF("PPR (ignored)\n");
lsi_skip_msgbytes(s, 5);
break;
default: default:
goto bad; goto bad;
} }