From: "Wang Cheng Yeh" <cywang.eda@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] please review this scsi patch
Date: Mon, 19 Mar 2007 13:24:46 +0800 [thread overview]
Message-ID: <a20f395e0703182224p249de2c3h5af748337a3b5bf1@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 7 bytes --]
thanks
[-- Attachment #1.2: Type: text/html, Size: 7 bytes --]
[-- Attachment #2: diff --]
[-- Type: application/octet-stream, Size: 1165 bytes --]
Index: hw/lsi53c895a.c
===================================================================
RCS file: /sources/qemu/qemu/hw/lsi53c895a.c,v
retrieving revision 1.3
diff -u -r1.3 lsi53c895a.c
--- hw/lsi53c895a.c 29 Aug 2006 04:52:16 -0000 1.3
+++ hw/lsi53c895a.c 19 Mar 2007 05:18:29 -0000
@@ -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);
}
static void lsi_io_mapfunc(PCIDevice *pci_dev, int region_num,
next reply other threads:[~2007-03-19 5:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-19 5:24 Wang Cheng Yeh [this message]
2007-03-19 9:45 ` [Qemu-devel] please review this scsi patch Avi Kivity
-- strict thread matches above, loose matches on Subject: below --
2007-03-19 12:44 Ben Taylor
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=a20f395e0703182224p249de2c3h5af748337a3b5bf1@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).