From: 王成業 <cywang.eda@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] scsi patch
Date: Sun, 11 Mar 2007 12:27:22 +0800 [thread overview]
Message-ID: <a20f395e0703102027q4773c9bei47a4b1786847680e@mail.gmail.com> (raw)
In-Reply-To: <a20f395e0703100603j4f14ce33wa63f047a36354fd9@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 955 bytes --]
--- ../../tmp/qemu-0.9.0/hw/lsi53c895a.c 2007-02-06 07:01:
54.000000000 +0800
+++ lsi53c895a.c 2007-03-08 20:50:03.094098835 +0800
@@ -251,7 +251,7 @@
uint32_t ia;
uint32_t sbc;
uint32_t csbc;
- uint32_t scratch[13]; /* SCRATCHA-SCRATCHR */
+ uint32_t scratch[18]; /* SCRATCHA-SCRATCHR */
/* Script ram is stored as 32-bit words in host byteorder. */
uint32_t script_ram[2048];
@@ -1038,7 +1038,7 @@
op0 |= op1;
break;
case 3: /* XOR */
- op0 |= op1;
+ op0 ^= op1;
break;
case 4: /* AND */
op0 &= op1;
@@ -1765,7 +1765,7 @@
lsi_reg_writeb(s, addr, val & 0xff);
lsi_reg_writeb(s, addr + 1, (val >> 8) & 0xff);
lsi_reg_writeb(s, addr + 2, (val >> 16) & 0xff);
- lsi_reg_writeb(s, addr + 2, (val >> 24) & 0xff);
+ lsi_reg_writeb(s, addr + 3, (val >> 24) & 0xff);
}
[-- Attachment #2: Type: text/html, Size: 2016 bytes --]
next prev parent reply other threads:[~2007-03-11 4:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-10 14:03 [Qemu-devel] scsi patch 王成業
2007-03-11 4:27 ` 王成業 [this message]
2007-03-14 15:15 ` 王成業
2007-03-19 12:42 ` Thiemo Seufer
2007-03-19 14:37 ` Wang Cheng Yeh
-- strict thread matches above, loose matches on Subject: below --
2007-04-25 5:48 Wang Cheng Yeh
2007-04-26 19:26 ` Blue Swirl
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=a20f395e0703102027q4773c9bei47a4b1786847680e@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).