Commit 3d834c78b28ec08f857ce1fcbd2e962ad7b87740
1 parent
fc81ba53
Typo fix, by Wang Cheng Yeh.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2713 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
5 additions
and
5 deletions
hw/lsi53c895a.c
... | ... | @@ -1389,7 +1389,7 @@ static void lsi_reg_writeb(LSIState *s, int offset, uint8_t val) |
1389 | 1389 | break; |
1390 | 1390 | case 0x02: /* SCNTL2 */ |
1391 | 1391 | val &= ~(LSI_SCNTL2_WSR | LSI_SCNTL2_WSS); |
1392 | - s->scntl3 = val; | |
1392 | + s->scntl2 = val; | |
1393 | 1393 | break; |
1394 | 1394 | case 0x03: /* SCNTL3 */ |
1395 | 1395 | s->scntl3 = val; |
... | ... | @@ -1457,19 +1457,19 @@ static void lsi_reg_writeb(LSIState *s, int offset, uint8_t val) |
1457 | 1457 | } |
1458 | 1458 | s->ctest5 = val; |
1459 | 1459 | break; |
1460 | - case 0x2c: /* DSPS[0:7] */ | |
1460 | + case 0x2c: /* DSP[0:7] */ | |
1461 | 1461 | s->dsp &= 0xffffff00; |
1462 | 1462 | s->dsp |= val; |
1463 | 1463 | break; |
1464 | - case 0x2d: /* DSPS[8:15] */ | |
1464 | + case 0x2d: /* DSP[8:15] */ | |
1465 | 1465 | s->dsp &= 0xffff00ff; |
1466 | 1466 | s->dsp |= val << 8; |
1467 | 1467 | break; |
1468 | - case 0x2e: /* DSPS[16:23] */ | |
1468 | + case 0x2e: /* DSP[16:23] */ | |
1469 | 1469 | s->dsp &= 0xff00ffff; |
1470 | 1470 | s->dsp |= val << 16; |
1471 | 1471 | break; |
1472 | - case 0x2f: /* DSPS[14:31] */ | |
1472 | + case 0x2f: /* DSP[24:31] */ | |
1473 | 1473 | s->dsp &= 0x00ffffff; |
1474 | 1474 | s->dsp |= val << 24; |
1475 | 1475 | if ((s->dmode & LSI_DMODE_MAN) == 0 | ... | ... |