Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1087f4f4 authored by Francois Romieu's avatar Francois Romieu Committed by Francois Romieu
Browse files

r8169: multicast register update (sync with Realtek's 8.004.00 8168 driver)



The layout of the 8168 serie is different from that of the 8110 one.

Signed-off-by: default avatarFrancois Romieu <romieu@fr.zoreil.com>
Cc: Edward Hsu <edward_hsu@realtek.com.tw>
parent be0976be
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -3098,8 +3098,10 @@ static void rtl_set_rx_mode(struct net_device *dev)
	    (tp->mac_version == RTL_GIGA_MAC_VER_15) ||
	    (tp->mac_version == RTL_GIGA_MAC_VER_16) ||
	    (tp->mac_version == RTL_GIGA_MAC_VER_17)) {
		mc_filter[0] = 0xffffffff;
		mc_filter[1] = 0xffffffff;
		u32 data = mc_filter[0];

		mc_filter[0] = swab32(mc_filter[1]);
		mc_filter[1] = swab32(data);
	}

	RTL_W32(MAR0 + 0, mc_filter[0]);