Skip to contentSkip to conversation

[6690] lsi: add ISTAT1 register read (Ryan Harper)

Qemu-devel Anthony Liguori 1 participant 1 message Mar 5, 2009

lore
Share & tools
lore
#0 lore raw

Revision: 6690

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6690
Author:   aliguori
Date:     2009-03-05 19:01:46 +0000 (Thu, 05 Mar 2009)

Log Message:
-----------
lsi: add ISTAT1 register read (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

Signature · 42 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]>
Signed-off-by: Anthony Liguori <[email protected]>

Modified Paths:
--------------
    branches/stable_0_10_0/hw/lsi53c895a.c

Modified: branches/stable_0_10_0/hw/lsi53c895a.c
===================================================================
--- branches/stable_0_10_0/hw/lsi53c895a.c	2009-03-05 19:01:28 UTC (rev 6689)
+++ branches/stable_0_10_0/hw/lsi53c895a.c	2009-03-05 19:01:46 UTC (rev 6690)
@@ -1369,6 +1369,8 @@
     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 */