patch-1.3.31 linux/drivers/net/tulip.c

Next file: linux/drivers/net/wd.c
Previous file: linux/drivers/net/smc-ultra.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.30/linux/drivers/net/tulip.c linux/drivers/net/tulip.c
@@ -696,7 +696,7 @@
 	short ioaddr = dev->base_addr;
 	int csr6 = inl(ioaddr + CSR6) & ~0x00D5;
 
-	if (num_addrs > 15) {
+	if (num_addrs > 15 || num_addrs == -2) {
 		/* Too many to filter perfectly -- accept all multicasts. */
 		outl(csr6 | 0x0080, ioaddr + CSR6);
 	} else if (num_addrs < 0) {			/* Set promiscuous. */

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