[PATCH] fs-enet/mac-fec: Restore multicast and promiscous settings during restart

Wolfgang Ocker weo at reccoware.de
Thu Aug 12 18:26:18 EST 2010


Signed-off-by: Wolfgang Ocker <weo at reccoware.de>
---
 drivers/net/fs_enet/mac-fec.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/drivers/net/fs_enet/mac-fec.c b/drivers/net/fs_enet/mac-fec.c
index 7ca1642..05f4bb1 100644
--- a/drivers/net/fs_enet/mac-fec.c
+++ b/drivers/net/fs_enet/mac-fec.c
@@ -344,6 +344,9 @@ static void restart(struct net_device *dev)
 	FW(fecp, imask, FEC_ENET_TXF | FEC_ENET_TXB |
 	   FEC_ENET_RXF | FEC_ENET_RXB);
 
+	/* Restore multicast and promiscuous settings */
+	set_multicast_list(dev);
+
 	/*
 	 * And last, enable the transmit and receive processing.
 	 */
-- 
1.7.2.1



More information about the Linuxppc-dev mailing list