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>
This commit is contained in:
Mike Smith 1998-10-04 02:11:15 +00:00
parent 380dfc0050
commit b0773b5098
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=39937
2 changed files with 4 additions and 4 deletions

View File

@ -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,

View File

@ -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,