git: ecac5c2928ee - main - mgb: enable multicast in mgb_init
Ed Maste
emaste at FreeBSD.org
Tue Sep 28 16:34:39 UTC 2021
The branch main has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=ecac5c2928eead57c05ee7d376ff58de0a575d49
commit ecac5c2928eead57c05ee7d376ff58de0a575d49
Author: Ed Maste <emaste at FreeBSD.org>
AuthorDate: 2021-09-28 16:06:04 +0000
Commit: Ed Maste <emaste at FreeBSD.org>
CommitDate: 2021-09-28 16:32:44 +0000
mgb: enable multicast in mgb_init
Receive Filtering Engine (RFE) configuration is not yet implemented,
and mgb intended to enable all broadcast, multicast, and unicast.
However, MGB_RFE_ALLOW_MULTICAST was missed (MGB_RFE_ALLOW_UNICAST was
included twice).
MFC after: 1 week
Fixes: 8890ab7758b8 ("Introduce if_mgb driver...")
Sponsored by: The FreeBSD Foundation
---
sys/dev/mgb/if_mgb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/dev/mgb/if_mgb.c b/sys/dev/mgb/if_mgb.c
index e1381dbc307d..472de84c13b1 100644
--- a/sys/dev/mgb/if_mgb.c
+++ b/sys/dev/mgb/if_mgb.c
@@ -611,7 +611,7 @@ mgb_init(if_ctx_t ctx)
CSR_CLEAR_REG(sc, MGB_RFE_CTL, MGB_RFE_ALLOW_PERFECT_FILTER);
CSR_UPDATE_REG(sc, MGB_RFE_CTL,
MGB_RFE_ALLOW_BROADCAST |
- MGB_RFE_ALLOW_UNICAST |
+ MGB_RFE_ALLOW_MULTICAST |
MGB_RFE_ALLOW_UNICAST);
error = mii_mediachg(miid);
More information about the dev-commits-src-all
mailing list