diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-04-22 17:18:38 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-04-22 17:18:38 +0000 |
commit | 3d834c78b28ec08f857ce1fcbd2e962ad7b87740 (patch) | |
tree | 7b71dd325f4a86446fd4d597d303ab5a5cf78bed /hw/lsi53c895a.c | |
parent | fc81ba536bc3d8cdbcf9e92369e9bc5ede69da10 (diff) |
Typo fix, by Wang Cheng Yeh.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2713 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/lsi53c895a.c')
-rw-r--r-- | hw/lsi53c895a.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/hw/lsi53c895a.c b/hw/lsi53c895a.c index 06107b5f76..71afd1f739 100644 --- a/hw/lsi53c895a.c +++ b/hw/lsi53c895a.c @@ -1389,7 +1389,7 @@ static void lsi_reg_writeb(LSIState *s, int offset, uint8_t val) break; case 0x02: /* SCNTL2 */ val &= ~(LSI_SCNTL2_WSR | LSI_SCNTL2_WSS); - s->scntl3 = val; + s->scntl2 = val; break; case 0x03: /* SCNTL3 */ s->scntl3 = val; @@ -1457,19 +1457,19 @@ static void lsi_reg_writeb(LSIState *s, int offset, uint8_t val) } s->ctest5 = val; break; - case 0x2c: /* DSPS[0:7] */ + case 0x2c: /* DSP[0:7] */ s->dsp &= 0xffffff00; s->dsp |= val; break; - case 0x2d: /* DSPS[8:15] */ + case 0x2d: /* DSP[8:15] */ s->dsp &= 0xffff00ff; s->dsp |= val << 8; break; - case 0x2e: /* DSPS[16:23] */ + case 0x2e: /* DSP[16:23] */ s->dsp &= 0xff00ffff; s->dsp |= val << 16; break; - case 0x2f: /* DSPS[14:31] */ + case 0x2f: /* DSP[24:31] */ s->dsp &= 0x00ffffff; s->dsp |= val << 24; if ((s->dmode & LSI_DMODE_MAN) == 0 |