Thread (12 messages) 12 messages, 3 authors, 2012-11-07

Re: Possible bug with r8169 driver

From: Nolwenn <hidden>
Date: 2012-11-07 09:54:57

Le jeudi 4 octobre 2012 10:09:22 hayeswang a écrit :
Francois Romieu [mailto:romieu@fr.zoreil.com]
[...]
quoted
diff --git a/drivers/net/ethernet/realtek/r8169.c
b/drivers/net/ethernet/realtek/r8169.c
index eb81da4..e0f1b8d 100644
--- a/drivers/net/ethernet/realtek/r8169.c
+++ b/drivers/net/ethernet/realtek/r8169.c
@@ -4271,8 +4271,8 @@ static void rtl_set_rx_mode(struct
net_device *dev)

 		mc_filter[1] = swab32(data);
 	
 	}

-	RTL_W32(MAR0 + 4, mc_filter[1]);
-	RTL_W32(MAR0 + 0, mc_filter[0]);
+	RTL_W32(MAR0 + 4, 0xffffffff);
+	RTL_W32(MAR0 + 0, 0xffffffff);

 	RTL_W32(RxConfig, tmp);
 
 }
The RTL_GIGA_MAC_VER_35 is designed without multicast hardware filter, so
you should set IO 0x08 ~ 0x0f to 0xff for receiving all multicast packets
without filtering them.
Hello,

Few weeks later, does I have to do something or it will be fix in the next 
kernel ?

Regards

Nolwenn
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help