[U-Boot-Users] [PATCH] net: add 'ethtoggle' environment variable

Wolfgang Denk wd at denx.de
Wed Jan 9 22:51:30 CET 2008


Dear Ben,

in message <200801091756.48890.matthias.fuchs at esd-electronics.com>
Matthias Fuchs wrote:
> This patch replaces the buildtime configuration option
> CONFIG_NET_DO_NOT_TRY_ANOTHER through the 'ethtoggle' runtime
> configuration veriable. See README.
> 
> Signed-off-by: Matthias Fuchs <matthias.fuchs at esd-electronics.com>
Ack-by: Wolfgang Denk <wd at denx.de>


But please edit the doc:

> diff --git a/README b/README
> index 9a8b3b9..9eac840 100644
> --- a/README
> +++ b/README
> @@ -2687,6 +2687,10 @@ Some configuration options can be set using Environment Variables:
>  		  => setenv ethact SCC ETHERNET
>  		  => ping 10.0.0.1 # traffic sent on SCC ETHERNET
>  
> +  ethtoggle	- When set to "no" U-Boot does not go through all
> +		  available network interfaces.
> +		  It just stays at the default interface.

... It just stays at the currently selected interface.


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
Abstainer: A weak person who yields to the temptation of denying him-
self a pleasure. A total abstainer is one who  abstains  from  every-
thing  but  abstention, and especially from inactivity in the affairs
of others.                                           - Ambrose Bierce




More information about the U-Boot mailing list