* [Qemu-devel] lsi53c895a patch
@ 2007-04-22 2:12 Wang Cheng Yeh
0 siblings, 0 replies; only message in thread
From: Wang Cheng Yeh @ 2007-04-22 2:12 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1.1: Type: text/plain, Size: 34 bytes --]
just some typo, but without hurt.
[-- Attachment #1.2: Type: text/html, Size: 42 bytes --]
[-- Attachment #2: p.txt --]
[-- Type: text/plain, Size: 1283 bytes --]
Index: hw/lsi53c895a.c
===================================================================
RCS file: /sources/qemu/qemu/hw/lsi53c895a.c,v
retrieving revision 1.7
diff -u -p -r1.7 lsi53c895a.c
--- hw/lsi53c895a.c 17 Apr 2007 23:53:10 -0000 1.7
+++ hw/lsi53c895a.c 22 Apr 2007 02:08:25 -0000
@@ -1389,7 +1389,7 @@ static void lsi_reg_writeb(LSIState *s,
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,
}
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-04-22 2:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-22 2:12 [Qemu-devel] lsi53c895a patch Wang Cheng Yeh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).