
18 Jan
2011
18 Jan
'11
10:28 p.m.
Dear Marcel,
In message 201101182208.33651.korgull@home.nl you wrote:
Anyone have an idea how NetRxPackets is allocated ?
Nobody ?
Well,you're supposed to do some basic code reading yourself.
req->buf = (u8 *) NetRxPackets[0];
This is returning an non existing buffer for some reason and I know not much about the ethernet layer to fix this.
But you know how to use the search function in your favorite editor, and tools like for example ctags or grep?
Hint: have a look at "net/net.c".
And note: as NetRxPackets[] is a static array I can't see how NetRxPackets[0] should be a "non existing buffer".
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
In C we had to code our own bugs, in C++ we can inherit them.