[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2B85B2AE7F334F8CBC4C4A084CA849FB@realtek.com.tw>
Date: Thu, 4 Oct 2012 10:09:22 +0800
From: hayeswang <hayeswang@...ltek.com>
To: 'Francois Romieu' <romieu@...zoreil.com>
CC: 'Nolwenn' <donolwenn@...il.com>, <netdev@...r.kernel.org>,
'nic_swsd' <nic_swsd@...ltek.com>
Subject: RE: Possible bug with r8169 driver
Francois Romieu [mailto:romieu@...zoreil.com]
[...]
> 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.
Best Regards,
Hayes
--
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