Skip to contentSkip to conversation

r8169: allow multicast packets on sub-8168f chipset.

PATCH Applied Francois Romieu 2 participants 2 messages Nov 1, 2012 – Nov 3, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 r8169: allow multicast packets on sub-8168f chipset.

From: Nathan Walp <[email protected]>

RTL_GIGA_MAC_VER_35 includes no multicast hardware filter.

---
 drivers/net/ethernet/realtek/r8169.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/net/ethernet/realtek/r8169.c +3 -0
index e7ff886..89bf6e1 100644
@@ -4519,6 +4519,9 @@ static void rtl_set_rx_mode(struct net_device *dev)
 		mc_filter[1] = swab32(data);
 	}
 
+	if (tp->mac_version == RTL_GIGA_MAC_VER_35)
+		mc_filter[1] = mc_filter[0] = 0xffffffff;
+
 	RTL_W32(MAR0 + 4, mc_filter[1]);
 	RTL_W32(MAR0 + 0, mc_filter[0]);
 
Signature · 1 line
1.7.11.7