commit | 0b97ab144f3ec4e3ae13e8c13e7296b2f89481a8 | [log] [tgz] |
---|---|---|
author | wdenk <wdenk> | Thu Jun 19 23:58:30 2003 +0000 |
committer | wdenk <wdenk> | Thu Jun 19 23:58:30 2003 +0000 |
tree | c7370d7ea3f1e71623f2b4580b1405b0041da79c | |
parent | 6dd652fa4d8591a32e2707a91f4582ed13011b17 [diff] [blame] |
* 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).
diff --git a/net/net.c b/net/net.c index 4758595..3081829 100644 --- a/net/net.c +++ b/net/net.c
@@ -251,7 +251,8 @@ } eth_halt(); - eth_init(bd); + if(eth_init(bd) < 0) + return(-1); restart: #ifdef CONFIG_NET_MULTI