public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: Lambrecht J?rgen <J.Lambrecht@TELEVIC.com>
Cc: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] bugs in AT91 Ethernet driver
Date: Sat, 31 May 2008 10:59:00 -0000	[thread overview]
Message-ID: <20080531105611.GA7180@lunn.ch> (raw)
In-Reply-To: <369C2E4EDB94C34881A8178BEA192A1205247D@nt-email.TELEVIC.COM>

On Sat, May 31, 2008 at 12:23:45AM +0200, Lambrecht J?rgen wrote:
> Hello,
> 
> I found some bugs in the AT91 EMAC Ethernet driver - /packages/devs/eth/arm/at91/current/src/if_at91.c.

> The bugs are present in at91_eth_recv(..) because the author did not
> understand how scatter-gather lists work I think. In Redboot, the
> driver works, and maybe also with LWIP, but not with freebsd.

This is quite possible. The driver was developed on the AT91SAM7X
device. This does not have enough resources to run the FreeBSD
stack.

> With my fix, RX seems to work on my AT91SAM9260-EK based board.

Thanks. I will try to understand what you have changed and see if it
looks correct.
 
> P.S.: in attachment a unix dif; that's not in the correct format for
> the ecos list I think - I need to take the time to look up how
> to....

It is not wrong, it is just harder for a human to read, making my job
harder. I don't just blindly apply patches. I try to understand the
problem and see if the fix is correct. The patch is a way into the
problem, especially when the only comments is, its broken, here is the
fix. 

     Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

  parent reply	other threads:[~2008-05-31 10:59 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-30 22:24 Lambrecht Jürgen
2008-05-31  8:12 ` I-Yanaslov
2008-05-31 11:18   ` Andrew Lunn
2008-05-31 11:51     ` I-Yanaslov
2008-05-31 12:04       ` Andrew Lunn
2008-05-31 10:59 ` Andrew Lunn [this message]
2008-05-31 11:47 ` Andrew Lunn
2008-05-31 23:13 Lambrecht Jürgen
2008-05-31 23:23 Lambrecht Jürgen
2008-06-01 21:36 Lambrecht Jürgen
2008-06-02 16:03 ` Jürgen Lambrecht
2008-06-02 18:04   ` Andrew Lunn
2008-06-04  6:40 Lambrecht Jürgen

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=20080531105611.GA7180@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=J.Lambrecht@TELEVIC.com \
    --cc=ecos-discuss@sources.redhat.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 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 read-only IMAP folder(s) and NNTP newsgroup(s).