From: Marcel Date: Wed, 19 Jan 2011 00:41:48 +0100 Subject: [U-Boot] NetRxPackets In-Reply-To: <20110118225338.DA8C536C@gemini.denx.de> References: <201101180115.25127.korgull@home.nl> <201101182337.32274.korgull@home.nl> <20110118225338.DA8C536C@gemini.denx.de> Message-ID: <201101190041.48956.korgull@home.nl> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tuesday, January 18, 2011 11:53:38 pm Wolfgang Denk wrote: > Dear Marcel, > > In message <201101182337.32274.korgull@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? Well finding it is not the issue. I can't find a reason why it wouldn't work. Regards, Marcel