* 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).
This commit is contained in:
wdenk 2003-06-19 23:58:30 +00:00
parent 6dd652fa4d
commit 0b97ab144f
4 changed files with 101 additions and 11 deletions

View file

@ -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