Thread (7 messages) 7 messages, 4 authors, 2013-07-01

Re: [PATCH] net: fec: Fix multicast list setup in fec_restart().

From: Joe Perches <joe@perches.com>
Date: 2013-06-21 17:25:11
Also in: lkml

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 <redacted>
Theobroma?
food of the gods or does your company just like chocolate?
quoted hunk ↗ jump to hunk
diff --git a/drivers/net/ethernet/freescale/fec_main.c
[]
+static void set_multicast_list(struct net_device *ndev);
[]
quoted hunk ↗ jump to hunk
@@ -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) ?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help