summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2005-04-15 03:13:04 +0000
committerBrad Smith <brad@cvs.openbsd.org>2005-04-15 03:13:04 +0000
commitec798c18ff86d0ef7aa54c507ae33479f9448436 (patch)
tree1eabc01b60ce41966b7a87925514c4e1b8964953
parentbbffe678a0796f287fa1718dde0be6de6e93f905 (diff)
re-add RL_JUMBO_FRAMELEN/RL_JUMBO_MTU but this time use the right values
-rw-r--r--sys/dev/ic/rtl81x9reg.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/ic/rtl81x9reg.h b/sys/dev/ic/rtl81x9reg.h
index 66c6de1baf4..f723a2a77a1 100644
--- a/sys/dev/ic/rtl81x9reg.h
+++ b/sys/dev/ic/rtl81x9reg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtl81x9reg.h,v 1.18 2005/04/15 03:03:21 brad Exp $ */
+/* $OpenBSD: rtl81x9reg.h,v 1.19 2005/04/15 03:13:03 brad Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -577,6 +577,10 @@ struct rl_stats {
#define RL_ADDR_LO(y) ((u_int64_t) (y) & 0xFFFFFFFF)
#define RL_ADDR_HI(y) ((u_int64_t) (y) >> 32)
+/* see comment in dev/ic/re.c */
+#define RL_JUMBO_FRAMELEN 7440
+#define RL_JUMBO_MTU (RL_JUMBO_FRAMELEN-ETHER_HDR_LEN-ETHER_CRC_LEN)
+
#define MAX_NUM_MULTICAST_ADDRESSES 128
#define RL_INC(x) (x = (x + 1) % RL_TX_LIST_CNT)