From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ld7sf-00013Q-MG for qemu-devel@nongnu.org; Fri, 27 Feb 2009 13:56:17 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ld7sd-000113-AM for qemu-devel@nongnu.org; Fri, 27 Feb 2009 13:56:16 -0500 Received: from [199.232.76.173] (port=39626 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ld7sc-00010s-V8 for qemu-devel@nongnu.org; Fri, 27 Feb 2009 13:56:14 -0500 Received: from e38.co.us.ibm.com ([32.97.110.159]:37591) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ld7sc-0005SH-Ft for qemu-devel@nongnu.org; Fri, 27 Feb 2009 13:56:14 -0500 Received: from d03relay02.boulder.ibm.com (d03relay02.boulder.ibm.com [9.17.195.227]) by e38.co.us.ibm.com (8.13.1/8.13.1) with ESMTP id n1RIsFZJ014406 for ; Fri, 27 Feb 2009 11:54:15 -0700 Received: from d03av03.boulder.ibm.com (d03av03.boulder.ibm.com [9.17.195.169]) by d03relay02.boulder.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n1RIuBDL211782 for ; Fri, 27 Feb 2009 11:56:11 -0700 Received: from d03av03.boulder.ibm.com (loopback [127.0.0.1]) by d03av03.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n1RIuB2W022699 for ; Fri, 27 Feb 2009 11:56:11 -0700 Date: Fri, 27 Feb 2009 12:56:10 -0600 From: Ryan Harper Message-ID: <20090227185610.GC11777@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] [PATCH] lsi: add ISTAT1 register read Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kvm@vger.kernel.org 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 -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx ryanh@us.ibm.com diffstat output: lsi53c895a.c | 2 ++ 1 files changed, 2 insertions(+) Signed-off-by: Ryan Harper --- Subject: [PATCH] lsi: add ISTAT1 register read From: Ryan Harper Cc: kvm@vger.kernel.org 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 diff --git a/hw/lsi53c895a.c b/hw/lsi53c895a.c index 36ee28e..1f4f8b7 100644 --- a/hw/lsi53c895a.c +++ b/hw/lsi53c895a.c @@ -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 */