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

Re: Possible bug with r8169 driver

From: Francois Romieu <romieu@fr.zoreil.com>
Date: 2012-10-01 19:15:54
Subsystem: 8169 10/100/1000 gigabit ethernet driver, networking drivers, the rest · Maintainers: Heiner Kallweit, Andrew Lunn, "David S. Miller", Eric Dumazet, Jakub Kicinski, Paolo Abeni, Linus Torvalds

hayeswang [off-list ref] :
[...]
I need check it with our hardware engineers. I would reply after getting
response.
Thanks.
Could you try to set IO 0x08 ~ 0x0F to 0xff for testing, first?
Something like the patch below (against 3.5.4) ?
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);
 }
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help