summaryrefslogtreecommitdiffstats
path: root/sys/dev/sf
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2000-07-14 19:11:02 +0000
committerwpaul <wpaul@FreeBSD.org>2000-07-14 19:11:02 +0000
commit4d1ab12c45eab7592596972b2758bf3b71472a09 (patch)
treeec1564e3e77a9ea726e2f41f01c49a023a92a84a /sys/dev/sf
parent3f52ad52cc6e00f2796a471b1ccf01a3d30e86fe (diff)
downloadFreeBSD-src-4d1ab12c45eab7592596972b2758bf3b71472a09.zip
FreeBSD-src-4d1ab12c45eab7592596972b2758bf3b71472a09.tar.gz
Close PR# 19904: remember to call sf_setmulti() when initializing the
interface so the multicast filter will be programmed correctly.
Diffstat (limited to 'sys/dev/sf')
-rw-r--r--sys/dev/sf/if_sf.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/sf/if_sf.c b/sys/dev/sf/if_sf.c
index 3ffa606..52c6f88 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);
OpenPOWER on IntegriCloud