summaryrefslogtreecommitdiff
path: root/include/net.h
diff options
context:
space:
mode:
authorwdenk <wdenk>2002-11-11 21:14:20 +0000
committerwdenk <wdenk>2002-11-11 21:14:20 +0000
commit1d0350ed0b1b0f63e3fb5db6b19397b84a2ea1c7 (patch)
treec26edf461eb3d49625026f7ec5751f8fee2556d8 /include/net.h
parenteb9401e3ebfa6a1550522be28895af461137f797 (diff)
* 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 'include/net.h')
-rw-r--r--include/net.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net.h b/include/net.h
index d4985ca307..396f36e6df 100644
--- a/include/net.h
+++ b/include/net.h
@@ -27,7 +27,12 @@
*
*/
+#ifndef CONFIG_EEPRO100
#define PKTBUFSRX 4
+#else
+#define PKTBUFSRX 8
+#endif
+
#define PKTALIGN 32
typedef ulong IPaddr_t;