From: Jim Liu Date: Mon, 8 Apr 2024 08:50:17 +0000 (+0800) Subject: net: designware: Pass all multicast frames in designware driver X-Git-Url: http://git.dujemihanovic.xyz/%22http:/www.sics.se/static/%7B%7B%20%24style.Permalink%20%7D%7D?a=commitdiff_plain;h=13c1100335e40acb1066e074eb061387fd103c36;p=u-boot.git net: designware: Pass all multicast frames in designware driver Allowing multicast packets is required for IPv6 neighbor discovery protocol. Signed-off-by: Parvathi Bhogaraju Signed-off-by: Jim Liu --- diff --git a/drivers/net/designware.c b/drivers/net/designware.c index 03b531c667..4c1642b29a 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; }