Skip to contentSkip to conversation

lsi: add ISTAT1 register read

PATCH Applied Ryan Harper 2 participants 2 messages Feb 27, 2009 – Mar 5, 2009 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lsi: add ISTAT1 register read

SLES10 SP2 installer complains when probing a scsi disk and exits qemu when failing to read one of the registers.

lsi_scsi: error: readb 0x15

Signature · 23 lines
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
[email protected]



diffstat output:
 lsi53c895a.c |    2 ++
 1 files changed, 2 insertions(+)

Signed-off-by: Ryan Harper <[email protected]>
---
Subject: [PATCH] lsi: add ISTAT1 register read
From: Ryan Harper <[email protected]>
Cc: [email protected]

SLES10 SP2 installer complains when probing a scsi disk and exits qemu when
failing to read one of the registers.

lsi_scsi: error: readb 0x15

Signed-off-by: Ryan Harper <[email protected]>
hw/lsi53c895a.c +2 -0
index 36ee28e..1f4f8b7 100644
@@ -1369,6 +1369,8 @@ static uint8_t lsi_reg_readb(LSIState *s, int offset)
     CASE_GET_REG32(dsa, 0x10)
     case 0x14: /* ISTAT0 */
         return s->istat0;
+    case 0x15: /* ISTAT1 */
+        return s->istat1;
     case 0x16: /* MBOX0 */
         return s->mbox0;
     case 0x17: /* MBOX1 */
#1 lore raw
Quoted 7 lines · Ryan Harper

SLES10 SP2 installer complains when probing a scsi disk and exits qemu when failing to read one of the registers.

lsi_scsi: error: readb 0x15

Applied to trunk and stable. Thanks.

Regards,

Anthony Liguori