Skip to contentSkip to conversation

Fix tulip slowdowns patch

PATCH [email protected] 1 participant 1 message May 15, 2003 Network drivers

lore
Share & tools
lore
#0 lore raw

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).

drivers/net/tulip/tulip.h +2 -2
diff -urpN --exclude-from=/home/davej/.exclude bk-linus/drivers/net/tulip/tulip.h linux-2.5/drivers/net/tulip/tulip.h
@@ -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 {