[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1371835508.19215.50.camel@joe-AO722>
Date: Fri, 21 Jun 2013 10:25:08 -0700
From: Joe Perches <joe@...ches.com>
To: Christoph Müllner
<christoph.muellner@...obroma-systems.com>
Cc: linux-kernel@...r.kernel.org,
Grant Likely <grant.likely@...aro.org>,
Rob Herring <rob.herring@...xeda.com>,
"David S. Miller" <davem@...emloft.net>,
Fabio Estevam <fabio.estevam@...escale.com>,
netdev@...r.kernel.org
Subject: Re: [PATCH] net: fec: Fix multicast list setup in fec_restart().
On Fri, 2013-06-21 at 18:40 +0200, Christoph Müllner wrote:
> Setup the multicast list of the net_device instead of
> clearing it blindly. This restores the multicast groups
> in case of a link down/up event.
>
> Signed-off-by: Christoph Muellner <christoph.muellner@...obroma-systems.com>
Theobroma?
food of the gods or does your company just like chocolate?
> diff --git a/drivers/net/ethernet/freescale/fec_main.c
[]
> +static void set_multicast_list(struct net_device *ndev);
[]
> @@ -472,8 +474,7 @@ fec_restart(struct net_device *ndev, int duplex)
> writel(0xffc00000, fep->hwp + FEC_IEVENT);
>
> /* Reset all multicast. */
> - writel(0, fep->hwp + FEC_GRP_HASH_TABLE_HIGH);
> - writel(0, fep->hwp + FEC_GRP_HASH_TABLE_LOW);
> + set_multicast_list(ndev);
maybe dev_set_rx_mode(ndev) ?
--
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