Thread (11 messages) 11 messages, 6 authors, 2008-06-26

Re: [PATCH] fs_enet: restore promiscuous and multicast settings in restart()

From: Matvejchikov Ilya <hidden>
Date: 2008-06-20 08:55:24
Also in: netdev

quoted
quoted
diff --git a/drivers/net/fs_enet/mac-fcc.c b/drivers/net/fs_enet/mac-fcc.c
index ce40cf9..1a95cf1 100644
--- a/drivers/net/fs_enet/mac-fcc.c
+++ b/drivers/net/fs_enet/mac-fcc.c
@@ -464,6 +464,9 @@ static void restart(struct net_device *dev)
            C32(fccp, fcc_fpsmr, FCC_PSMR_FDE | FCC_PSMR_LPB);

    S32(fccp, fcc_gfmr, FCC_GFMR_ENR | FCC_GFMR_ENT);
+
+   /* Restore multicast and promiscous settings */
+   set_multicast_list(dev);
 }
Is it right to call set_multicast_list() after turning on transmitter
and receiver? May be swap this lines around?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help