lkml.org 
[lkml]   [2001]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] Handle tulip errata (again) in 2.4.9
Linus,

Please apply this tiny patch which is a workaround for a DC21143 erratum
(or application note or whatever the latest name is). The old workaround
was accidently hidden behind an experimental CONFIG in the latest driver
update.

Without this patch I get a 98% packet loss... :-)

/Tobias
diff -ru linux-2.4.9.orig/drivers/net/tulip/tulip_core.c linux-2.4.9/drivers/net/tulip/tulip_core.c
--- linux-2.4.9.orig/drivers/net/tulip/tulip_core.c Wed Aug 15 08:58:27 2001
+++ linux-2.4.9/drivers/net/tulip/tulip_core.c Sun Sep 9 22:32:55 2001
@@ -1503,6 +1503,10 @@
#ifdef CONFIG_TULIP_MWI
if (!force_csr0 && (tp->flags & HAS_PCI_MWI))
tulip_mwi_config (pdev, dev);
+#else
+ /* MWI is broken for DC21143 rev 65... */
+ if (chip_idx == DC21143 && chip_rev == 65)
+ tp->csr0 &= ~MWI;
#endif

/* Stop the chip's Tx and Rx processes. */
\
 
 \ /
  Last update: 2005-03-22 13:03    [W:0.025 / U:5.816 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site