patch-1.3.33 linux/drivers/net/de620.c

Next file: linux/drivers/net/eepro.c
Previous file: linux/drivers/net/de600.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.32/linux/drivers/net/de620.c linux/drivers/net/de620.c
@@ -468,7 +468,15 @@
 static void
 de620_set_multicast_list(struct device *dev, int num_addrs, void *addrs)
 {
-	if (num_addrs) { /* Enable promiscuous mode */
+	if (num_addrs) 
+	{ /* Enable promiscuous mode */
+		/*
+		 *	We must make the kernel realise we had to move
+		 *	into promisc mode or we start all out war on
+		 *	the cable. - AC
+		 */
+		dev->flags|=IFF_PROMISC;		
+	
 		de620_set_register(dev, W_TCR, (TCR_DEF & ~RXPBM) | RXALL);
 	}
 	else { /* Disable promiscuous mode, use normal mode */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this