From 454d6af0a3ba8ccb0cce7eb502596bc90fb1fcfc Mon Sep 17 00:00:00 2001 From: Christian Weisgerber Date: Mon, 24 May 2004 14:15:44 +0000 Subject: Make Yukon-style adapters also set up the multicast filter in sk_init(). This fixes various multicast-related problems. ok henning@ --- sys/dev/pci/if_sk.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/sys/dev/pci/if_sk.c b/sys/dev/pci/if_sk.c index 0a61add7763..59a2539fd63 100644 --- a/sys/dev/pci/if_sk.c +++ b/sys/dev/pci/if_sk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_sk.c,v 1.39 2004/04/09 21:52:17 henning Exp $ */ +/* $OpenBSD: if_sk.c,v 1.40 2004/05/24 14:15:43 naddy Exp $ */ /* * Copyright (c) 1997, 1998, 1999, 2000 @@ -2340,12 +2340,9 @@ void sk_init_yukon(sc_if) SK_YU_WRITE_2(sc_if, YUKON_SAL2 + i * 4, reg); } - /* clear all Multicast filter hash registers */ + /* Set multicast filter */ DPRINTFN(6, ("sk_init_yukon: 11\n")); - SK_YU_WRITE_2(sc_if, YUKON_MCAH1, 0); - SK_YU_WRITE_2(sc_if, YUKON_MCAH2, 0); - SK_YU_WRITE_2(sc_if, YUKON_MCAH3, 0); - SK_YU_WRITE_2(sc_if, YUKON_MCAH4, 0); + sk_setmulti(sc_if); /* enable interrupt mask for counter overflows */ DPRINTFN(6, ("sk_init_yukon: 12\n")); -- cgit v1.2.3