|
From: | Wang Cheng Yeh |
Subject: | [Qemu-devel] scsi interface patch |
Date: | Sun, 22 Apr 2007 21:22:43 +0800 |
The "standard" way to submitting patches is unified diff's (diff -u)
Could you re-post your patch in unified format please?
Thanks,
Hetz
On 4/22/07, Wang Cheng Yeh < address@hidden> wrote:
> The number of responded bytes from scsi device do not match the expected
> value of lsi53c895a driver.
> hence, the mismatch interrupt happen, but the driver does not always handle
> it correctly.
> My patch make the responded bytes as expected and the interrupt will not
> happen.
>
> Index: hw/scsi-disk.c
> ===================================================================
> RCS file: /sources/qemu/qemu/hw/scsi-disk.c,v
> retrieving revision 1.13
> diff -r1.13 scsi-disk.c
> 359c359
> < memset(outbuf, 0, 36);
> ---
> > memset(outbuf, 0, len);
> 377c377
> < r->buf_len = 36;
> ---
> > r->buf_len = len;
> 442a443,446
> > for(;r->buf_len<len;r->buf_len++)
> > {
> > *p++=0;
> > }
>
>
--
Skepticism is the lazy person's default position.
Visit my blog (hebrew) for things that (sometimes) matter:
http://wp.dad-answers.com
tmp.txt
Description: Text document
[Prev in Thread] | Current Thread | [Next in Thread] |