diff options
author | wdenk <wdenk> | 2003-06-19 23:58:30 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2003-06-19 23:58:30 +0000 |
commit | 0b97ab144f3ec4e3ae13e8c13e7296b2f89481a8 (patch) | |
tree | c7370d7ea3f1e71623f2b4580b1405b0041da79c /net/net.c | |
parent | 6dd652fa4d8591a32e2707a91f4582ed13011b17 (diff) | |
download | u-boot-imx-0b97ab144f3ec4e3ae13e8c13e7296b2f89481a8.zip u-boot-imx-0b97ab144f3ec4e3ae13e8c13e7296b2f89481a8.tar.gz u-boot-imx-0b97ab144f3ec4e3ae13e8c13e7296b2f89481a8.tar.bz2 |
* 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/net.c')
-rw-r--r-- | net/net.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |