From: Wolfgang Denk Date: Tue, 18 Jan 2011 23:53:38 +0100 Subject: [U-Boot] NetRxPackets In-Reply-To: <201101182337.32274.korgull@home.nl> References: <201101180115.25127.korgull@home.nl> <201101182208.33651.korgull@home.nl> <20110118212858.57F0A36C@gemini.denx.de> <201101182337.32274.korgull@home.nl> Message-ID: <20110118225338.DA8C536C@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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? 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."