1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 08:42:12 +02:00

* Patch by Richard Klingler, 03 Apr 2005:

Add call to eth_halt() in net/net.c when called functions fail
  after eth_init() has been called.

* Patch by Sam Song, 3 April 2005:
  - Update README.Netconsole
  - Update README
This commit is contained in:
wdenk
2005-04-03 14:52:59 +00:00
parent 86c9888207
commit b1bf6f2c9b
4 changed files with 39 additions and 2 deletions

View File

@@ -303,8 +303,10 @@ NetLoop(proto_t protocol)
#ifdef CONFIG_NET_MULTI
eth_set_current();
#endif
if (eth_init(bd) < 0)
if (eth_init(bd) < 0) {
eth_halt();
return(-1);
}
restart:
#ifdef CONFIG_NET_MULTI
@@ -383,6 +385,7 @@ restart:
switch (net_check_prereq (protocol)) {
case 1:
/* network not configured */
eth_halt();
return (-1);
#ifdef CONFIG_NET_MULTI