commit | 3e8b7dc5f2ac726fc77cc37256750e6ef85d28fe | [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 | b00ec160534f795135539bb73cc9bcd4a04e321e [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