Skip to content

Commit

Permalink
r8169: multicast register update (sync with Realtek's 8.004.00 8168 d…
Browse files Browse the repository at this point in the history
…river)

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

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Cc: Edward Hsu <edward_hsu@realtek.com.tw>
  • Loading branch information
Francois Romieu authored and Francois Romieu committed Jun 29, 2008
1 parent be0976b commit 1087f4f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions drivers/net/r8169.c
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

0 comments on commit 1087f4f

Please sign in to comment.