summaryrefslogtreecommitdiffstats
path: root/sys/dev/cs
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>1998-10-04 02:11:15 +0000
committermsmith <msmith@FreeBSD.org>1998-10-04 02:11:15 +0000
commit996e479bd0e23fe395d33cc83dded126746bc7ea (patch)
tree073d516461fa023fd9ff6893c6a03ea985e42037 /sys/dev/cs
parentba0c9042b06005c6c80ac34b1037a934af389013 (diff)
downloadFreeBSD-src-996e479bd0e23fe395d33cc83dded126746bc7ea.zip
FreeBSD-src-996e479bd0e23fe395d33cc83dded126746bc7ea.tar.gz
At net-jp@jp.freebsd.org mailing list, if_cs user in Japan
reported bug. At using tcpdump for cs interface, tcpdump only dump packet which src or dst MAC-address is cs interface. cs interface can't look up packet between others. Submitted by: MIHIRA "Sanpei" Yoshiro <sanpei@sanpei.org>
Diffstat (limited to 'sys/dev/cs')
-rw-r--r--sys/dev/cs/if_cs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/cs/if_cs.c b/sys/dev/cs/if_cs.c
index feb395c..1d044de 100644
--- a/sys/dev/cs/if_cs.c
+++ b/sys/dev/cs/if_cs.c
@@ -27,7 +27,7 @@
*/
/*
- * $Id: if_cs.c,v 1.3 1998/08/13 20:31:17 msmith Exp $
+ * $Id: if_cs.c,v 1.4 1998/08/27 22:41:18 msmith Exp $
*
* Device driver for Crystal Semiconductor CS8920 based ethernet
* adapters. By Maxim Bolotin and Oleg Sharoiko, 27-April-1997
@@ -1056,7 +1056,7 @@ cs_setmode(struct cs_softc *sc)
}
/* Set up the filter */
- cs_writereg(sc->nic_addr, PP_RxCTL, RX_DEF_ACCEPT | RX_MULTCAST_ACCEPT);
+ cs_writereg(sc->nic_addr, PP_RxCTL, RX_DEF_ACCEPT | rx_ctl);
/* Turn on receiver */
cs_writereg(sc->nic_addr, PP_LineCTL,
OpenPOWER on IntegriCloud