From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MFaP0-0006wN-Sr for qemu-devel@nongnu.org; Sat, 13 Jun 2009 17:04:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MFaOv-0006rY-Qq for qemu-devel@nongnu.org; Sat, 13 Jun 2009 17:04:38 -0400 Received: from [199.232.76.173] (port=57605 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MFaOv-0006rL-JI for qemu-devel@nongnu.org; Sat, 13 Jun 2009 17:04:33 -0400 Received: from mail.gmx.net ([213.165.64.20]:55864) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1MFaOu-00042T-Sv for qemu-devel@nongnu.org; Sat, 13 Jun 2009 17:04:33 -0400 In-Reply-To: <1244927006$1157@local> Date: Sat, 13 Jun 2009 23:03:27 +0200 Message-Id: <1244927007$499@local> References: <1244927006$1157@local> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit From: Sebastian Herbszt Subject: [Qemu-devel] [PATCH 2/3] lsi53c895a: Implement read and write access to DMA Next Address List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: herbszt@gmx.de Fixes the following errors: lsi_scsi: error: Unhandled writeb 0x28 = 0x0 lsi_scsi: error: Unhandled writeb 0x29 = 0x0 lsi_scsi: error: Unhandled writeb 0x2a = 0x0 lsi_scsi: error: Unhandled writeb 0x2b = 0x0 Signed-off-by: Sebastian Herbszt Index: qemu-3a2eeac0c9033e30b19d88465c9561f982e9e6d0/hw/lsi53c895a.c =================================================================== --- qemu-3a2eeac0c9033e30b19d88465c9561f982e9e6d0.orig/hw/lsi53c895a.c +++ qemu-3a2eeac0c9033e30b19d88465c9561f982e9e6d0/hw/lsi53c895a.c @@ -1403,6 +1403,7 @@ static uint8_t lsi_reg_readb(LSIState *s CASE_GET_REG24(dbc, 0x24) case 0x27: /* DCMD */ return s->dcmd; + CASE_GET_REG32(dnad, 0x28) CASE_GET_REG32(dsp, 0x2c) CASE_GET_REG32(dsps, 0x30) CASE_GET_REG32(scratch[0], 0x34) @@ -1595,6 +1596,7 @@ static void lsi_reg_writeb(LSIState *s, } s->ctest5 = val; break; + CASE_SET_REG32(dnad, 0x28) case 0x2c: /* DSP[0:7] */ s->dsp &= 0xffffff00; s->dsp |= val;