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

Ben Warren bwarren at qstreams.com
Wed Mar 7 15:51:39 CET 2007


Ed,

On Wed, 2007-03-07 at 00:12 -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>
Sorry for being a pain, but this patch doesn't apply cleanly, due to
whitespace issues.  Please make sure you're using tabs for indentation
with TABSTOP=8.  When I modified your patch to do this, it went in fine,
but I want it to come from you so all history is maintained.

regards,
Ben





More information about the U-Boot mailing list