* 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
diff --git a/net/net.c b/net/net.c
index cc3bec6..b9cb67b 100644
--- a/net/net.c
+++ b/net/net.c
@@ -187,7 +187,7 @@
 	switch (net_check_prereq (protocol)) {
 	case 1:
 		/* network not configured */
-		return 0;
+		return (-1);
 
 #ifdef CONFIG_NET_MULTI
 	case 2:
@@ -257,7 +257,7 @@
 		if (ctrlc()) {
 		        eth_halt();
 			printf("\nAbort\n");
-			return 0;
+			return (-1);
 		}
 
 
@@ -295,7 +295,7 @@
 			return NetBootFileXferSize;
 
 		case NETLOOP_FAIL:
-			return 0;
+			return (-1);
 		}
 	}
 }