diff options
author | Nathan Walp <faceprint@faceprint.com> | 2012-11-01 08:08:47 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-11-03 15:27:07 -0400 |
commit | 0481776b7a70f09acf7d9d97c288c3a8403fbfe4 (patch) | |
tree | eeffc8e52f54762b4aad0dadd3c13bb6214a0ff7 | |
parent | b00e69dee4ccbb3a19989e3d4f1385bc2e3406cd (diff) |
r8169: allow multicast packets on sub-8168f chipset.
RTL_GIGA_MAC_VER_35 includes no multicast hardware filter.
Signed-off-by: Nathan Walp <faceprint@faceprint.com>
Suggested-by: Hayes Wang <hayeswang@realtek.com>
Acked-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/realtek/r8169.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c index eb6a5e4ca4c8..927aa33d4349 100644 --- a/drivers/net/ethernet/realtek/r8169.c +++ b/drivers/net/ethernet/realtek/r8169.c | |||
@@ -4521,6 +4521,9 @@ static void rtl_set_rx_mode(struct net_device *dev) | |||
4521 | mc_filter[1] = swab32(data); | 4521 | mc_filter[1] = swab32(data); |
4522 | } | 4522 | } |
4523 | 4523 | ||
4524 | if (tp->mac_version == RTL_GIGA_MAC_VER_35) | ||
4525 | mc_filter[1] = mc_filter[0] = 0xffffffff; | ||
4526 | |||
4524 | RTL_W32(MAR0 + 4, mc_filter[1]); | 4527 | RTL_W32(MAR0 + 4, mc_filter[1]); |
4525 | RTL_W32(MAR0 + 0, mc_filter[0]); | 4528 | RTL_W32(MAR0 + 0, mc_filter[0]); |
4526 | 4529 | ||