From: Sebastian Herbszt Date: Sat, 13 Jun 2009 21:03:27 +0000 (+0200) Subject: lsi53c895a: Implement read and write access to DMA Next Address X-Git-Tag: TizenStudio_2.0_p2.3~8652 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f94dbc83c4d49bf7bc0d4972de0031a6a0d72580;p=sdk%2Femulator%2Fqemu.git lsi53c895a: Implement read and write access to DMA Next Address 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 Signed-off-by: Anthony Liguori --- diff --git a/hw/lsi53c895a.c b/hw/lsi53c895a.c index da9e5ac..3c23ddc 100644 --- a/hw/lsi53c895a.c +++ b/hw/lsi53c895a.c @@ -1403,6 +1403,7 @@ static uint8_t lsi_reg_readb(LSIState *s, int offset) 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, int offset, uint8_t val) } s->ctest5 = val; break; + CASE_SET_REG32(dnad, 0x28) case 0x2c: /* DSP[0:7] */ s->dsp &= 0xffffff00; s->dsp |= val;