Commit 92d88ecbac89a181c103719bab2d1b4b30a7283d

Authored by ths
1 parent 4b70269e

Another lsi53c895a patch, by Wang Cheng Yeh.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2699 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 3 additions and 0 deletions
hw/lsi53c895a.c
@@ -1434,10 +1434,13 @@ static void lsi_reg_writeb(LSIState *s, int offset, uint8_t val) @@ -1434,10 +1434,13 @@ static void lsi_reg_writeb(LSIState *s, int offset, uint8_t val)
1434 if (val & LSI_ISTAT0_SRST) { 1434 if (val & LSI_ISTAT0_SRST) {
1435 lsi_soft_reset(s); 1435 lsi_soft_reset(s);
1436 } 1436 }
  1437 + break;
1437 case 0x16: /* MBOX0 */ 1438 case 0x16: /* MBOX0 */
1438 s->mbox0 = val; 1439 s->mbox0 = val;
  1440 + break;
1439 case 0x17: /* MBOX1 */ 1441 case 0x17: /* MBOX1 */
1440 s->mbox1 = val; 1442 s->mbox1 = val;
  1443 + break;
1441 case 0x1b: /* CTEST3 */ 1444 case 0x1b: /* CTEST3 */
1442 s->ctest3 = val & 0x0f; 1445 s->ctest3 = val & 0x0f;
1443 break; 1446 break;