Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic Use a 16K receive buffer on the SEGA Dreamcast (X...



details:   https://anonhg.NetBSD.org/src/rev/1066019758b9
branches:  trunk
changeset: 503092:1066019758b9
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Wed Jan 31 07:44:51 2001 +0000

description:
Use a 16K receive buffer on the SEGA Dreamcast (XXX should be
done differently than it is).

diffstat:

 sys/dev/ic/rtl81x9reg.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 2f473f9c227c -r 1066019758b9 sys/dev/ic/rtl81x9reg.h
--- a/sys/dev/ic/rtl81x9reg.h   Wed Jan 31 07:44:04 2001 +0000
+++ b/sys/dev/ic/rtl81x9reg.h   Wed Jan 31 07:44:51 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rtl81x9reg.h,v 1.5 2000/05/19 13:42:29 tsutsui Exp $   */
+/*     $NetBSD: rtl81x9reg.h,v 1.6 2001/01/31 07:44:51 thorpej Exp $   */
 
 /*
  * Copyright (c) 1997, 1998
@@ -303,7 +303,11 @@
  * all received packets.
  */
 
+#ifdef dreamcast
+#define        RTK_RX_BUF_SZ           RTK_RXBUF_16
+#else
 #define RTK_RX_BUF_SZ          RTK_RXBUF_64
+#endif
 #define RTK_RXBUFLEN           (1 << ((RTK_RX_BUF_SZ >> 11) + 13))
 #define RTK_TX_LIST_CNT                4
 #define RTK_TX_EARLYTHRESH     ((256 / 32) << 16)



Home | Main Index | Thread Index | Old Index