r8169: allow multicast packets on sub-8168f chipset.
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.
Signed-off-by Nathan Walp <[email protected]>
Suggested-by Hayes Wang <[email protected]>
Acked-by Francois Romieu <[email protected]>
--- drivers/net/ethernet/realtek/r8169.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/net/ethernet/realtek/r8169.c +3 -0
@@ -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
From: Francois Romieu <[email protected]>
Date: Thu, 1 Nov 2012 23:08:47 +0100
Quoted 7 lines
From: Nathan Walp <[email protected]>
RTL_GIGA_MAC_VER_35includes no multicast hardware filter.Signed-off-by Nathan Walp <[email protected]>Suggested-by Hayes Wang <[email protected]>Acked-by Francois Romieu <[email protected]>
Applied.