diff options
author | Matthias Fuchs <matthias.fuchs@esd-electronics.com> | 2007-12-27 16:58:41 +0100 |
---|---|---|
committer | Ben Warren <biggerbadderben@gmail.com> | 2008-01-03 22:54:00 -0500 |
commit | 8b0c5c127690335758100c25eaec2b84db97c101 (patch) | |
tree | f78e52323949788543316f78aa139414b49e7738 | |
parent | 505be87a65e4f87ad7d8da1d57ea4dcd487d7e32 (diff) | |
download | u-boot-imx-8b0c5c127690335758100c25eaec2b84db97c101.zip u-boot-imx-8b0c5c127690335758100c25eaec2b84db97c101.tar.gz u-boot-imx-8b0c5c127690335758100c25eaec2b84db97c101.tar.bz2 |
net: Add CONFIG_NET_DO_NOT_TRY_ANOTHER option
When CONFIG_NET_DO_NOT_TRY_ANOTHER is defined U-Boot's
networking stack does not automatically switch to
another interface. This patch does not touch the default
behavior.
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
-rw-r--r-- | net/net.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -596,7 +596,9 @@ void NetStartAgain (void) NetSetHandler (startAgainHandler); #else /* !CONFIG_NET_MULTI*/ eth_halt (); +#if !defined(CONFIG_NET_DO_NOT_TRY_ANOTHER) eth_try_another (!NetRestarted); +#endif eth_init (gd->bd); if (NetRestartWrap) { NetRestartWrap = 0; |