This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

bugfix in ethernet driver for the arm at91 variant: at91_eth.c


Hi
This repeats a patch handed in already on 14-Jan-2010. But the epk-file then used does not correspond to the desired format. So I switched over to a textfile, obtained from a diff (see further down).


But back to the problem:
I found a bug in the v3_0 eth-driver if_at91.c. It is in the handling of
the buffer-to-list copy in routine at91_eth_recv. Actually, it only treats
the first list and leaves all "higher" ones empty, thereby loosing data in
packages that exceed the length of a single list.

The attached text file my.patch was generated using the command

cvs -q diff -u5 -w -p devs\eth\arm\at91 >> my.patch

Unfortunately as a newbie, I had added a lot of comments and all these
lines with new comments (which I think are useful) are now listed as changes.
Robert

Attachment: my.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]