diff mbox

[1/2] lsi: add ISTAT1 register read

Message ID 1232720479-21398-2-git-send-email-ryanh@us.ibm.com (mailing list archive)
State Not Applicable
Headers show

Commit Message

Ryan Harper Jan. 23, 2009, 2:21 p.m. UTC
SLES10 SP2 installer complains with:

lsi_scsi: error: readb 0x15

Signed-off-by: Ryan Harper <ryanh@us.ibm.com>

To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox


diff --git a/hw/lsi53c895a.c b/hw/lsi53c895a.c
index 9f50dcb..912d7d5 100644
--- a/hw/lsi53c895a.c
+++ b/hw/lsi53c895a.c
@@ -1368,6 +1368,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 */