aboutsummaryrefslogtreecommitdiff
path: root/hw/lsi53c895a.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-04-17 23:53:10 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-04-17 23:53:10 +0000
commit92d88ecbac89a181c103719bab2d1b4b30a7283d (patch)
tree8abc8e805689fbc97238112ac3586146b67b8c08 /hw/lsi53c895a.c
parent4b70269e1c1f4ad7470602b31aa1ca3d1da7e2bd (diff)
Another lsi53c895a patch, by Wang Cheng Yeh.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2699 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/lsi53c895a.c')
-rw-r--r--hw/lsi53c895a.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/lsi53c895a.c b/hw/lsi53c895a.c
index 88806a60a4..06107b5f76 100644
--- a/hw/lsi53c895a.c
+++ b/hw/lsi53c895a.c
@@ -1434,10 +1434,13 @@ static void lsi_reg_writeb(LSIState *s, int offset, uint8_t val)
if (val & LSI_ISTAT0_SRST) {
lsi_soft_reset(s);
}
+ break;
case 0x16: /* MBOX0 */
s->mbox0 = val;
+ break;
case 0x17: /* MBOX1 */
s->mbox1 = val;
+ break;
case 0x1b: /* CTEST3 */
s->ctest3 = val & 0x0f;
break;