mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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: 8890ab7758 ("Introduce if_mgb driver...")
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
800e74955d
commit
ecac5c2928
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue