[U-Boot-Users] [PATCH] net - Support ping reply when processing net-loop

Ben Warren bwarren at qstreams.com
Wed Mar 7 19:31:49 CET 2007


Ed,
On Wed, 2007-03-07 at 12:14 -0600, Ed Swarthout wrote:
> Add ICMP_ECHO_REQUEST packet support by responding with a ICMP_ECHO_REPLY.
> 
> This permits the ping command to test the phy interface when the phy
> is put in loopback mode (typically by setting register 0 bit 14).
> 
> It also allows the port to respond to an external ping when u-boot is
> processing some other net command (such as tftp).  This is useful when
> tftp appears to hang.
> 
> Signed-off-by: Ed Swarthout <Ed.Swarthout at freescale.com>
> 
> ---
> 
> Version 3.  Whitespace cleanup of patch.
> 
> Removed spaces used for indentation of descendant line.
> 80-char line-length is still violated (like other parts of file).
> 
> If I run Lident on the file, I get 67 changes and it still uses spaces
> to indent descendant lines.  Should I send that version instead?
> 
> Pain leads to strength...

This one's fine.  Thanks!

Ben





More information about the U-Boot mailing list