[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20121001185629.GA4922@electric-eye.fr.zoreil.com>
Date: Mon, 1 Oct 2012 20:56:29 +0200
From: Francois Romieu <romieu@...zoreil.com>
To: hayeswang <hayeswang@...ltek.com>
Cc: "'Nolwenn'" <donolwenn@...il.com>, netdev@...r.kernel.org
Subject: Re: Possible bug with r8169 driver
hayeswang <hayeswang@...ltek.com> :
[...]
> 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);
}
--
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