Request for Tulip 2.2.x testing...
Hi all!
I was wondering if I could find anyone on here with a Tulip 21041 chip that could do some simple testing under 2.2.15-pre15?
Questions for which answers are sought:
Does tulip.c work with your 21041 chip unmodified? If yes, does the below patch break the tulip driver? If no, does the below patch get your 21041 working again?
Thanks!
Jeff
--
Jeff Garzik | Tact is the ability to tell a man Building 1024 | he has an open mind when he has a MandrakeSoft, Inc. | hole in his head. (-random fortune)
Index: tulip.c
===================================================================
RCS file: /g/cvslan/linux_2_2/drivers/net/tulip.c,v retrieving revision 1.1.1.6
tulip.c +1 -1
@@ -420,7 +420,7 @@ {0,0,0,16, 3,19,16,24, 27,4,7,5, 0,20,23,20 };static u8 t21040_csr13[] = {2 ,0x0C ,8 ,4 ,4 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,4 ,0 ,0 ,0 };/* 21041 transceiver register settings: 10-T, 10-2, AUI, 10-T, 10T-FD*/ -static u16 t21041_csr13[] = {0xEF01 ,0xEF09 ,0xEF09 ,0xEF01 ,0xEF09 , }; +static u16 t21041_csr13[] = {0xEF05 ,0xEF0D ,0xEF0D ,0xEF05 ,0xEF05 , };static u16 t21041_csr14[] = {0xFFFF ,0xF7FD ,0xF7FD ,0x7F3F ,0x7F3D , };static u16 t21041_csr15[] = {0x0008 ,0x0006 ,0x000E ,0x0008 ,0x0008 , };
HI,
I did some testing with both versions. They both work for me in the same way. The only difference I can see is one more line in /var/log/messages when I start the patched module. The unpatched one gives me
kernel: tulip.c:v0.91g-ppc 7/16/99 [email protected]
kernel: eth0: Digital DC21041 Tulip rev 33 at 0x400, 00:00:C5:47:6A:7C, IRQ 25.
kernel: eth0: 21041 Media table, default media 0800 (Autosense).
kernel: eth0: 21041 media #0, 10baseT.
kernel: eth0: 21041 media #4, 10baseT-FD.
The patched one gives an additional line
kernel: eth0: 21143 10baseT link beat good.
Otherwise I see no difference in performance between the two (nor with the de4x5 driver which I am normally using).
Do you need more information?
# cat /proc/version Linux version 2.2.15-pre15 (root@chezmoi) (gcc version 2.95.2 19991024 (release/franzo)) #22 Sat Mar 25 00:46:00 CET 2000
--
Martin
Quoted 11 lines · Jeff Garzik
Hi all!
I was wondering if I could find anyone on here with a Tulip 21041 chip that could do some simple testing under 2.2.15-pre15?
Questions for which answers are sought:
Does
tulip.cwork with your 21041 chip unmodified? If yes, does the below patch break the tulip driver? If no, does the below patch get your 21041 working again?
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/