diff options
author | Christian Weisgerber <naddy@cvs.openbsd.org> | 2004-05-24 14:15:44 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@cvs.openbsd.org> | 2004-05-24 14:15:44 +0000 |
commit | 454d6af0a3ba8ccb0cce7eb502596bc90fb1fcfc (patch) | |
tree | bf69fce0de4620416657ba3e548665f64cc375aa | |
parent | 1679ce8d0bfaa04f84b3981b833f6dbaffec626e (diff) |
Make Yukon-style adapters also set up the multicast filter in sk_init().
This fixes various multicast-related problems. ok henning@
-rw-r--r-- | sys/dev/pci/if_sk.c | 9 |
1 files 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")); |