qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Marcel Block" <marcelblock@googlemail.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] ne2000 bug? buffer full/empty
Date: Mon, 2 Apr 2007 03:21:05 +0200	[thread overview]
Message-ID: <defcfa420704011821i4896420cxe55f99dc119618d0@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 89 bytes --]

hi again,

here's a patch for the changes i described before.

best regards
marcel block

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: qemu_ne2000.patch --]
[-- Type: text/x-patch; name="qemu_ne2000.patch", Size: 398 bytes --]

--- qemu-0.9.0/hw/ne2000.c	2007-02-06 00:01:54.000000000 +0100
+++ ne2000.c	2007-04-02 03:02:32.000000000 +0200
@@ -206,7 +206,7 @@ static int ne2000_buffer_full(NE2000Stat
 
     index = s->curpag << 8;
     boundary = s->boundary << 8;
-    if (index <= boundary)
+    if (index < boundary)
         avail = boundary - index;
     else
         avail = (s->stop - s->start) - (index - boundary);

             reply	other threads:[~2007-04-02  1:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-02  1:21 Marcel Block [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-03-27  6:58 [Qemu-devel] ne2000 bug? buffer full/empty Marcel Block
2007-03-26 18:05 [Qemu-devel] Ne2000 bug?, " Marcel Block

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=defcfa420704011821i4896420cxe55f99dc119618d0@mail.gmail.com \
    --to=marcelblock@googlemail.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).