summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2000-08-02 19:23:55 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2000-08-02 19:23:55 +0000
commit0153ef0f8ef28dc3442557ba2ccc463bfbdc870c (patch)
treedf80b396adc4b454eb34f5cf2061683c81e2a1a3 /sys/dev/pci
parent6368a8b96d61144bbc24879086973b35109b0c9f (diff)
Put missing call to sf_setmulti() in sf_init() so the multicast filter will
be programmed correctly; from FreeBSD.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/if_sf.c9
1 files changed, 7 insertions, 2 deletions
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 <wpaul@ctr.columbia.edu>. 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);