Fix tulip slowdowns patch

Fix tulip slowdowns patch

Post by da.. » Fri, 16 May 2003 05:50:06



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

        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

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. PATCH: typo fix for tulip

diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.65/drivers/net/tulip/winbond-840.c linux-2.5.65-ac2/drivers/net/tulip/winbond-840.c
--- linux-2.5.65/drivers/net/tulip/winbond-840.c        2003-03-06 17:04:27.000000000 +0000

        Support and updates available at
        http://www.scyld.com/network/drivers.html

-       Do not remove the copyright infomation.
+       Do not remove the copyright information.
        Do not change the version information unless an improvement has been made.
        Merely removing my name, as Compex has done in the past, does not count
        as an improvement.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. Offline printing?

3. PATCH: fix ALi 32bitisms, fix ALi FIFO, fix ALi IRQ crash

4. Help Installing Xwindows

5. fix big initramfs (was: [PATCH] gen_init_cpio fixes for 2.5.64)

6. Is it my harddsk go bad....? need help

7. PATCH: 2.5.40 Fix stupid scsi setup bug in 53c406, fix addressing

8. compile problem...

9. [via-rhine][PATCH] fixing the reset fix

10. fix compilation of drivers/net/tulip/de4x5.c

11. Annoying media-select feature on Tulip cards; any fixes?

12. tulip warning fix

13. stale tulip driver in development kernels... PLEASE FIX!!