summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-06-19 23:58:30 +0000
committerwdenk <wdenk>2003-06-19 23:58:30 +0000
commit0b97ab144f3ec4e3ae13e8c13e7296b2f89481a8 (patch)
treec7370d7ea3f1e71623f2b4580b1405b0041da79c /net
parent6dd652fa4d8591a32e2707a91f4582ed13011b17 (diff)
downloadtalos-obmc-uboot-0b97ab144f3ec4e3ae13e8c13e7296b2f89481a8.tar.gz
talos-obmc-uboot-0b97ab144f3ec4e3ae13e8c13e7296b2f89481a8.zip
* Patch by Richard Woodruff, 19 June 03:
- Fixed smc91c111 driver to sync with the u-boot environment (driver/smc91c111.c). - Added eth_init error return check in NetLoop (net/net.c).
Diffstat (limited to 'net')
-rw-r--r--net/net.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/net.c b/net/net.c
index 4758595d1c..3081829010 100644
--- a/net/net.c
+++ b/net/net.c
@@ -251,7 +251,8 @@ NetLoop(proto_t protocol)
}
eth_halt();
- eth_init(bd);
+ if(eth_init(bd) < 0)
+ return(-1);
restart:
#ifdef CONFIG_NET_MULTI
OpenPOWER on IntegriCloud