patch-1.3.31 linux/drivers/net/3c509.c

Next file: linux/drivers/net/8390.c
Previous file: linux/drivers/net/3c503.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.30/linux/drivers/net/3c509.c linux/drivers/net/3c509.c
@@ -262,7 +262,7 @@
 	dev->stop = &el3_close;
 	dev->get_stats = &el3_get_stats;
 #ifdef HAVE_MULTICAST
-		dev->set_multicast_list = &set_multicast_list;
+	dev->set_multicast_list = &set_multicast_list;
 #endif
 
 	/* Fill in the generic fields of the device structure. */
@@ -652,7 +652,7 @@
 			printk("%s: Setting Rx mode to %d addresses.\n", dev->name, num_addrs);
 		}
 	}
-	if (num_addrs > 0) {
+	if (num_addrs > 0 || num_addrs == -2) {
 		outw(SetRxFilter|RxStation|RxMulticast|RxBroadcast, ioaddr + EL3_CMD);
 	} else if (num_addrs < 0) {
 		outw(SetRxFilter | RxStation | RxMulticast | RxBroadcast | RxProm,

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