aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sf
diff options
context:
space:
mode:
authorBill Paul <wpaul@FreeBSD.org>2000-07-14 19:11:02 +0000
committerBill Paul <wpaul@FreeBSD.org>2000-07-14 19:11:02 +0000
commiteddceb0d2b8b6ff010946d6e726b5224ea005ed1 (patch)
tree2e574b6d003dc1ada6c24b875043eba6d9b014a6 /sys/dev/sf
parent6484396e9923f5e2aec49b4ba32ebce7ec2eff40 (diff)
downloadsrc-eddceb0d2b8b6ff010946d6e726b5224ea005ed1.tar.gz
src-eddceb0d2b8b6ff010946d6e726b5224ea005ed1.zip
Close PR# 19904: remember to call sf_setmulti() when initializing the
interface so the multicast filter will be programmed correctly.
Notes
Notes: svn path=/head/; revision=63166
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 3ffa606f4405..52c6f8854f1f 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);