diff options
author | Jim Liu <jim.t90615@gmail.com> | 2024-04-08 16:50:17 +0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-04-12 13:55:25 -0600 |
commit | 8f0216e1ab7bac7b634c5af3c2d804f5d2aeb260 (patch) | |
tree | 603d80299bb449bbd4eda82328888066f7d3e9cf | |
parent | ce9d91f6eb7228623a204596373436f95c40c718 (diff) | |
download | u-boot-WIP/12Apr2024.zip u-boot-WIP/12Apr2024.tar.gz u-boot-WIP/12Apr2024.tar.bz2 |
net: designware: Pass all multicast frames in designware driverWIP/12Apr2024
Allowing multicast packets is required for IPv6 neighbor discovery
protocol.
Signed-off-by: Parvathi Bhogaraju <pbhogaraju@microsoft.com>
Signed-off-by: Jim Liu <JJLIU0@nuvoton.com>
-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 03b531c..4c1642b 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; } |