|
@@ -2820,8 +2820,8 @@ static void rtl_rar_set(struct rtl8169_private *tp, u8 *addr)
|
|
|
spin_lock_irq(&tp->lock);
|
|
|
|
|
|
RTL_W8(Cfg9346, Cfg9346_Unlock);
|
|
|
- RTL_W32(MAC0, low);
|
|
|
RTL_W32(MAC4, high);
|
|
|
+ RTL_W32(MAC0, low);
|
|
|
RTL_W8(Cfg9346, Cfg9346_Lock);
|
|
|
|
|
|
spin_unlock_irq(&tp->lock);
|
|
@@ -4747,8 +4747,8 @@ static void rtl_set_rx_mode(struct net_device *dev)
|
|
|
mc_filter[1] = swab32(data);
|
|
|
}
|
|
|
|
|
|
- RTL_W32(MAR0 + 0, mc_filter[0]);
|
|
|
RTL_W32(MAR0 + 4, mc_filter[1]);
|
|
|
+ RTL_W32(MAR0 + 0, mc_filter[0]);
|
|
|
|
|
|
RTL_W32(RxConfig, tmp);
|
|
|
|