[U-Boot-Users] eth_rx implementation

Wolfgang Denk wd at denx.de
Sun Mar 6 10:26:00 CET 2005


In message <698a2fda0503060044189b8b1c at mail.gmail.com> you wrote:
> 
> I am having problems implementing my eth_rx function.  I have seen

And what exactly is your problem?

> from other implementations that eth_rx will return any packet that has
> been received from the network, however, if there are no data to

Rigth.

> retrieve, i.e. NetReceive(NetRxPackets[0], 0),  the PING function
> re-sends the ping request in at most two times.

Yes, but this is a different issue and  unrelated  to  the  implemen-
tation of eth_rx.

> I have implemented a polling eth_rx function.  Of course there should
> be no packet type checking on this level, however, is the network loop

OK.

> function checking if the packets for a specific network command is
> satisfied, and if not, what does our network loop do?

I'm not exactly sure what you are asking here. Are there any problems
with your eth_rx code  as  you  claimed  above,  or  did  you  modify
anything in the NetLoop() function, or what?

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
A witty saying proves nothing, but saying  something  pointless  gets
people's attention.




More information about the U-Boot mailing list