Fix tulip slowdowns patch

From: davej@codemonkey.org.uk
Date: Wed May 14 2003 - 22:31:09 EST


This found its way into 2.4 on 13 Mar 2002, with the comment
"Revert tulip changes which were apparently causing slowdowns"
by some guy called Jeff Garzik.

It was part of a larger cset. The other part touched tulip_core.c
in a part that no longer seems to be there in 2.5 (See the
DC21041 part of tulip_up in 2.4).

diff -urpN --exclude-from=/home/davej/.exclude bk-linus/drivers/net/tulip/tulip.h linux-2.5/drivers/net/tulip/tulip.h
--- bk-linus/drivers/net/tulip/tulip.h 2003-04-22 00:40:43.000000000 +0100
+++ linux-2.5/drivers/net/tulip/tulip.h 2003-04-22 01:23:14.000000000 +0100
@@ -199,8 +199,8 @@ enum t21041_csr13_bits {
         csr13_cac = (1<<2), /* CSR13/14/15 autoconfiguration */
         csr13_srl = (1<<0), /* When reset, resets all SIA functions, machines */
 
- csr13_mask_auibnc = (csr13_eng | csr13_aui | csr13_srl),
- csr13_mask_10bt = (csr13_eng | csr13_srl),
+ csr13_mask_auibnc = (csr13_eng | csr13_aui | csr13_srl | csr13_cac),
+ csr13_mask_10bt = (csr13_eng | csr13_srl | csr13_cac),
 };
 
 enum t21143_csr6_bits {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu May 15 2003 - 22:00:55 EST