[U-Boot] NetRxPackets

Wolfgang Denk wd at denx.de
Tue Jan 18 23:53:38 CET 2011


Dear Marcel,

In message <201101182337.32274.korgull at home.nl> you wrote:
> 
> > Hint: have a look at "net/net.c".
> 
> I found that, but it doesn't make sense to me. I'll read it again and 
> hopefully it makes sense to me than. Anyway, my knowledge of the ethernet part 
> in u-boot is limited and I do not focus on ethernet. I will not use ether.c in 
> the end anyway and I was just hoping it would work as a basis to test my new 
> controller code. 
> 
> > And note: as NetRxPackets[] is a static array I can't see how
> > NetRxPackets[0] should be a "non existing buffer".
> 
> Well, I guess the point where that's done doesn't show up nicely with grep.

Come on.  You will find a static array declaration when you know the
exact name of the file and the variable, right?



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 at denx.de
Status quo. Latin for "the mess we're in."


More information about the U-Boot mailing list