Typo fix, by Wang Cheng Yeh.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2713 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
fc81ba536b
commit
3d834c78b2
@ -1389,7 +1389,7 @@ static void lsi_reg_writeb(LSIState *s, int offset, uint8_t val)
|
|||||||
break;
|
break;
|
||||||
case 0x02: /* SCNTL2 */
|
case 0x02: /* SCNTL2 */
|
||||||
val &= ~(LSI_SCNTL2_WSR | LSI_SCNTL2_WSS);
|
val &= ~(LSI_SCNTL2_WSR | LSI_SCNTL2_WSS);
|
||||||
s->scntl3 = val;
|
s->scntl2 = val;
|
||||||
break;
|
break;
|
||||||
case 0x03: /* SCNTL3 */
|
case 0x03: /* SCNTL3 */
|
||||||
s->scntl3 = val;
|
s->scntl3 = val;
|
||||||
@ -1457,19 +1457,19 @@ static void lsi_reg_writeb(LSIState *s, int offset, uint8_t val)
|
|||||||
}
|
}
|
||||||
s->ctest5 = val;
|
s->ctest5 = val;
|
||||||
break;
|
break;
|
||||||
case 0x2c: /* DSPS[0:7] */
|
case 0x2c: /* DSP[0:7] */
|
||||||
s->dsp &= 0xffffff00;
|
s->dsp &= 0xffffff00;
|
||||||
s->dsp |= val;
|
s->dsp |= val;
|
||||||
break;
|
break;
|
||||||
case 0x2d: /* DSPS[8:15] */
|
case 0x2d: /* DSP[8:15] */
|
||||||
s->dsp &= 0xffff00ff;
|
s->dsp &= 0xffff00ff;
|
||||||
s->dsp |= val << 8;
|
s->dsp |= val << 8;
|
||||||
break;
|
break;
|
||||||
case 0x2e: /* DSPS[16:23] */
|
case 0x2e: /* DSP[16:23] */
|
||||||
s->dsp &= 0xff00ffff;
|
s->dsp &= 0xff00ffff;
|
||||||
s->dsp |= val << 16;
|
s->dsp |= val << 16;
|
||||||
break;
|
break;
|
||||||
case 0x2f: /* DSPS[14:31] */
|
case 0x2f: /* DSP[24:31] */
|
||||||
s->dsp &= 0x00ffffff;
|
s->dsp &= 0x00ffffff;
|
||||||
s->dsp |= val << 24;
|
s->dsp |= val << 24;
|
||||||
if ((s->dmode & LSI_DMODE_MAN) == 0
|
if ((s->dmode & LSI_DMODE_MAN) == 0
|
||||||
|
Loading…
Reference in New Issue
Block a user