[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120929190105.GA8903@electric-eye.fr.zoreil.com>
Date: Sat, 29 Sep 2012 21:01:05 +0200
From: Francois Romieu <romieu@...zoreil.com>
To: Nolwenn <donolwenn@...il.com>
Cc: hayeswang <hayeswang@...ltek.com>, netdev@...r.kernel.org
Subject: Re: Possible bug with r8169 driver
Nolwenn <donolwenn@...il.com> :
[...]
> The two dumps are attached (I hope it's what Michel wants !)
(Michel ?)
The device does not see the multicast router advertisement.
Please try the hack below.
diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c
index b47d5b3..8080dac 100644
--- a/drivers/net/ethernet/realtek/r8169.c
+++ b/drivers/net/ethernet/realtek/r8169.c
@@ -4522,6 +4522,8 @@ static void rtl_set_rx_mode(struct net_device *dev)
mc_filter[0] = swab32(mc_filter[1]);
mc_filter[1] = swab32(data);
+ tmp |= 0xff7e1880;
+ RTL_W32(RxConfig, tmp);
}
RTL_W32(MAR0 + 4, mc_filter[1]);
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists