Another lsi53c895a patch, by Wang Cheng Yeh.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2699 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
ths 2007-04-17 23:53:10 +00:00
parent 4b70269e1c
commit 92d88ecbac

View File

@ -1434,10 +1434,13 @@ static void lsi_reg_writeb(LSIState *s, int offset, uint8_t val)
if (val & LSI_ISTAT0_SRST) { if (val & LSI_ISTAT0_SRST) {
lsi_soft_reset(s); lsi_soft_reset(s);
} }
break;
case 0x16: /* MBOX0 */ case 0x16: /* MBOX0 */
s->mbox0 = val; s->mbox0 = val;
break;
case 0x17: /* MBOX1 */ case 0x17: /* MBOX1 */
s->mbox1 = val; s->mbox1 = val;
break;
case 0x1b: /* CTEST3 */ case 0x1b: /* CTEST3 */
s->ctest3 = val & 0x0f; s->ctest3 = val & 0x0f;
break; break;