diff options
author | wdenk <wdenk> | 2002-11-11 21:14:20 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2002-11-11 21:14:20 +0000 |
commit | 1d0350ed0b1b0f63e3fb5db6b19397b84a2ea1c7 (patch) | |
tree | c26edf461eb3d49625026f7ec5751f8fee2556d8 /net/net.c | |
parent | eb9401e3ebfa6a1550522be28895af461137f797 (diff) | |
download | bootable_bootloader_goldelico_gta04-1d0350ed0b1b0f63e3fb5db6b19397b84a2ea1c7.zip bootable_bootloader_goldelico_gta04-1d0350ed0b1b0f63e3fb5db6b19397b84a2ea1c7.tar.gz bootable_bootloader_goldelico_gta04-1d0350ed0b1b0f63e3fb5db6b19397b84a2ea1c7.tar.bz2 |
* Patch by Jim Sandoz, 07 Nov 2002:
Increase number of network RX buffers (PKTBUFSRX in
"include/net.h") for EEPRO100 based boards (especially SP8240)
which showed "Receiver is not ready" errors when U-Boot was
processing the receive buffers slower than the network controller
was filling them.
* Get rid of obsolete include/mpc74xx.h
Diffstat (limited to 'net/net.c')
-rw-r--r-- | net/net.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -187,7 +187,7 @@ restart: switch (net_check_prereq (protocol)) { case 1: /* network not configured */ - return 0; + return (-1); #ifdef CONFIG_NET_MULTI case 2: @@ -257,7 +257,7 @@ restart: if (ctrlc()) { eth_halt(); printf("\nAbort\n"); - return 0; + return (-1); } @@ -295,7 +295,7 @@ restart: return NetBootFileXferSize; case NETLOOP_FAIL: - return 0; + return (-1); } } } |