From: Jan Kiszka <jan.kiszka@siemens.com>
To: Frank Mehnert <Frank.Mehnert@sun.com>
Cc: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Subject: Re: [Qemu-devel] Re: hw/serial.c: Xmit fifo never used
Date: Thu, 27 May 2010 10:21:16 +0200 [thread overview]
Message-ID: <4BFE2B7C.2070102@siemens.com> (raw)
In-Reply-To: <201005262206.11919.frank.mehnert@sun.com>
Frank Mehnert wrote:
> On Wednesday 26 May 2010, Stefano Stabellini wrote:
>> I think the patch is correct.
>
> serial: fixed bug which prevented the use of the xmit fifo
>
> Signed-off-by: Frank Mehnert <frank.mehnert@sun.com>
> ---
> hw/serial.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/hw/serial.c b/hw/serial.c
> index 9102edb..0b1550b 100644
> --- a/hw/serial.c
> +++ b/hw/serial.c
> @@ -327,7 +327,7 @@ static void serial_xmit(void *opaque)
> /* in loopback mode, say that we just received a char */
> serial_receive1(s, &s->tsr, 1);
> } else if (qemu_chr_write(s->chr, &s->tsr, 1) != 1) {
> - if ((s->tsr_retry > 0) && (s->tsr_retry <= MAX_XMIT_RETRY)) {
> + if ((s->tsr_retry >= 0) && (s->tsr_retry <= MAX_XMIT_RETRY)) {
> s->tsr_retry++;
> qemu_mod_timer(s->transmit_timer, new_xmit_ts +
> s->char_transmit_time);
> return;
> --
> 1.5.6.5
>
>
>
> Hope this is now the correct format.
Really close: Without "[PATCH]" prefix in the subject line there is the
risk that no maintainer will find your patch. Moreover, your mail client
wrapped long lines.
Jan
--
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux
next prev parent reply other threads:[~2010-05-27 8:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-26 10:07 [Qemu-devel] hw/serial.c: Xmit fifo never used Frank Mehnert
2010-05-26 10:32 ` [Qemu-devel] " Jan Kiszka
2010-05-26 11:06 ` Frank Mehnert
2010-05-26 11:16 ` Jan Kiszka
2010-05-26 11:42 ` Stefano Stabellini
2010-05-26 20:06 ` Frank Mehnert
2010-05-27 8:21 ` Jan Kiszka [this message]
2010-05-28 14:31 ` [Qemu-devel] " Paul Brook
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=4BFE2B7C.2070102@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=Frank.Mehnert@sun.com \
--cc=qemu-devel@nongnu.org \
--cc=stefano.stabellini@eu.citrix.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.