Messages in this thread Patch in this message |  | | Date | Sun, 9 Sep 2001 23:09:27 +0200 (CEST) | From | Tobias Ringstrom <> | 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. */ |  |