From eddceb0d2b8b6ff010946d6e726b5224ea005ed1 Mon Sep 17 00:00:00 2001 From: Bill Paul Date: Fri, 14 Jul 2000 19:11:02 +0000 Subject: [PATCH] Close PR# 19904: remember to call sf_setmulti() when initializing the interface so the multicast filter will be programmed correctly. --- sys/dev/sf/if_sf.c | 5 +++++ sys/pci/if_sf.c | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/sys/dev/sf/if_sf.c b/sys/dev/sf/if_sf.c index 3ffa606f440..52c6f8854f1 100644 --- a/sys/dev/sf/if_sf.c +++ b/sys/dev/sf/if_sf.c @@ -1183,6 +1183,11 @@ static 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); diff --git a/sys/pci/if_sf.c b/sys/pci/if_sf.c index 3ffa606f440..52c6f8854f1 100644 --- a/sys/pci/if_sf.c +++ b/sys/pci/if_sf.c @@ -1183,6 +1183,11 @@ static 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);