]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
net: designware: Pass all multicast frames in designware driver
authorJim Liu <jim.t90615@gmail.com>
Mon, 8 Apr 2024 08:50:17 +0000 (16:50 +0800)
committerTom Rini <trini@konsulko.com>
Fri, 12 Apr 2024 19:59:12 +0000 (13:59 -0600)
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>
drivers/net/designware.c

index 03b531c6672c011b4e01e3a2a7b18f0c1de081da..4c1642b29a84477b292b45abb1a968b940ca99fd 100644 (file)
@@ -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;
 }