diff options
| author | Jim Liu <[email protected]> | 2024-04-08 16:50:17 +0800 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-04-12 13:59:12 -0600 |
| commit | 13c1100335e40acb1066e074eb061387fd103c36 (patch) | |
| tree | 0dc2ba8651dcf90622909505a735e2105463646c | |
| parent | 3d98b8c504e158d708ca806b4aac9d40757e8c01 (diff) | |
net: designware: Pass all multicast frames in designware driver
Allowing multicast packets is required for IPv6 neighbor discovery
protocol.
Signed-off-by: Parvathi Bhogaraju <[email protected]>
Signed-off-by: Jim Liu <[email protected]>
| -rw-r--r-- | drivers/net/designware.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/designware.c b/drivers/net/designware.c index 03b531c6672..4c1642b29a8 100644 --- a/drivers/net/designware.c +++ b/drivers/net/designware.c @@ -352,6 +352,11 @@ static int dw_adjust_link(struct dw_eth_dev *priv, struct eth_mac_regs *mac_p, (phydev->duplex) ? "full" : "half", (phydev->port == PORT_FIBRE) ? ", fiber mode" : ""); +#ifdef CONFIG_ARCH_NPCM8XX + /* Pass all Multicast Frames */ + setbits_le32(&mac_p->framefilt, BIT(4)); + +#endif return 0; } |
