diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/r8169.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c index 657242504621..9086e819d742 100644 --- a/drivers/net/r8169.c +++ b/drivers/net/r8169.c | |||
@@ -3098,8 +3098,10 @@ static void rtl_set_rx_mode(struct net_device *dev) | |||
3098 | (tp->mac_version == RTL_GIGA_MAC_VER_15) || | 3098 | (tp->mac_version == RTL_GIGA_MAC_VER_15) || |
3099 | (tp->mac_version == RTL_GIGA_MAC_VER_16) || | 3099 | (tp->mac_version == RTL_GIGA_MAC_VER_16) || |
3100 | (tp->mac_version == RTL_GIGA_MAC_VER_17)) { | 3100 | (tp->mac_version == RTL_GIGA_MAC_VER_17)) { |
3101 | mc_filter[0] = 0xffffffff; | 3101 | u32 data = mc_filter[0]; |
3102 | mc_filter[1] = 0xffffffff; | 3102 | |
3103 | mc_filter[0] = swab32(mc_filter[1]); | ||
3104 | mc_filter[1] = swab32(data); | ||
3103 | } | 3105 | } |
3104 | 3106 | ||
3105 | RTL_W32(MAR0 + 0, mc_filter[0]); | 3107 | RTL_W32(MAR0 + 0, mc_filter[0]); |