From 0153ef0f8ef28dc3442557ba2ccc463bfbdc870c Mon Sep 17 00:00:00 2001 From: Aaron Campbell Date: Wed, 2 Aug 2000 19:23:55 +0000 Subject: Put missing call to sf_setmulti() in sf_init() so the multicast filter will be programmed correctly; from FreeBSD. --- sys/dev/pci/if_sf.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'sys') diff --git a/sys/dev/pci/if_sf.c b/sys/dev/pci/if_sf.c index 1019399b062..fc0fbe05e3e 100644 --- a/sys/dev/pci/if_sf.c +++ b/sys/dev/pci/if_sf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_sf.c,v 1.6 2000/03/01 22:49:57 aaron Exp $ */ +/* $OpenBSD: if_sf.c,v 1.7 2000/08/02 19:23:54 aaron Exp $ */ /* * Copyright (c) 1997, 1998, 1999 * Bill Paul . All rights reserved. @@ -30,7 +30,7 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF * THE POSSIBILITY OF SUCH DAMAGE. * - * $FreeBSD: src/sys/pci/if_sf.c,v 1.18 1999/12/05 20:02:44 wpaul Exp $ + * $FreeBSD: src/sys/pci/if_sf.c,v 1.23 2000/07/14 19:11:02 wpaul Exp $ */ /* @@ -1095,6 +1095,11 @@ void sf_init(xsc) SF_CLRBIT(sc, SF_RXFILT, SF_RXFILT_BROAD); } + /* + * Load the multicast filter. + */ + sf_setmulti(sc); + /* Init the completion queue indexes */ csr_write_4(sc, SF_CQ_CONSIDX, 0); csr_write_4(sc, SF_CQ_PRODIDX, 0); -- cgit v1.2.3