From: "Wang Cheng Yeh" <cywang.eda@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] lsi53c895a patch
Date: Sun, 22 Apr 2007 10:12:28 +0800 [thread overview]
Message-ID: <a20f395e0704211912p60321225p279f987905634fe2@mail.gmail.com> (raw)
[-- 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
reply other threads:[~2007-04-22 2:17 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a20f395e0704211912p60321225p279f987905634fe2@mail.gmail.com \
--to=cywang.eda@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).