summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorPeter Valchev <pvalchev@cvs.openbsd.org>2004-06-05 07:39:56 +0000
committerPeter Valchev <pvalchev@cvs.openbsd.org>2004-06-05 07:39:56 +0000
commit31fa11de5b3256af5c700900141ee07fc8ee81b0 (patch)
tree2e5300e28c4b4ac7c308b2bf3be9ed784f471bd1 /sys/dev/ic
parent060beeae40038712271f1727749e794d32428cb0 (diff)
add multicast support
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/rtl81x9reg.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ic/rtl81x9reg.h b/sys/dev/ic/rtl81x9reg.h
index 693e367d89e..f67ba936697 100644
--- a/sys/dev/ic/rtl81x9reg.h
+++ b/sys/dev/ic/rtl81x9reg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtl81x9reg.h,v 1.11 2004/06/05 06:00:46 pvalchev Exp $ */
+/* $OpenBSD: rtl81x9reg.h,v 1.12 2004/06/05 07:39:54 pvalchev Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -577,6 +577,8 @@ struct rl_stats {
#define RL_JUMBO_FRAMELEN 9018
#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)
#define RL_CUR_TXADDR(x) ((x->rl_cdata.cur_tx * 4) + RL_TXADDR0)
#define RL_CUR_TXSTAT(x) ((x->rl_cdata.cur_tx * 4) + RL_TXSTAT0)