linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* de4x5 vs. tulip on PPC
@ 1999-01-20 21:28 Geert Uytterhoeven
  1999-01-21  7:58 ` David S. Miller
  1999-01-21 17:32 ` Alain RICHARD
  0 siblings, 2 replies; 3+ messages in thread
From: Geert Uytterhoeven @ 1999-01-20 21:28 UTC (permalink / raw)
  To: davies, Donald Becker; +Cc: Linux kernel, Linux/PPC Development



On my machine, de4x5.c works, while tulip.c doesn't.

Machine is a CHRP/PPC box, Ethernet is 21041 based D-Link DE-530CT.

Relevant kernel messages:

| eth0: DC21041 at 0x1080 (PCI bus 0, device 4), h/w address 00:80:c8:5a:f8:5b, 
                                                             ^^^^^^^^^^^^^^^^^
|       and requires IRQ29 (provided by PCI BIOS). 
| de4x5.c:V0.543 1998/12/30 davies@maniac.ultranet.com 
| eth0: media is TP. 

| tulip.c:v0.89H 5/23/98 becker@cesdis.gsfc.nasa.gov 
| eth0: Digital DC21041 Tulip at 0x1080, 21041 mode, 80 00 5a c8 5b f8, IRQ 29. 
                                                     ^^^^^^^^^^^^^^^^^
| eth0: 21041 transmit timed out, status fc680000, CSR12 000001c8, CSR13 ffffef05, CSR14 ffffff3f, resetting... 
| eth0: 21041 transmit timed out, status fc680010, CSR12 000052c8, CSR13 ffffef09, CSR14 fffff7fd, resetting... 
| eth0: 21041 transmit timed out, status fc680010, CSR12 000001c8, CSR13 ffffef05, CSR14 ffffff3f, resetting... 
| eth0: 21041 transmit timed out, status fc680010, CSR12 000052c8, CSR13 ffffef09, CSR14 fffff7fd, resetting... 

So at least the Ethernet HW address is in the wrong endiannes for tulip.c.

Are there people who can use tulip.c on a big endian machine?

Greetings,

						Geert

--
Geert Uytterhoeven                     Geert.Uytterhoeven@cs.kuleuven.ac.be
Wavelets, Linux/{m68k~Amiga,PPC~CHRP}  http://www.cs.kuleuven.ac.be/~geert/
Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium


[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to  Cc linuxppc-dev  if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: de4x5 vs. tulip on PPC
  1999-01-20 21:28 de4x5 vs. tulip on PPC Geert Uytterhoeven
@ 1999-01-21  7:58 ` David S. Miller
  1999-01-21 17:32 ` Alain RICHARD
  1 sibling, 0 replies; 3+ messages in thread
From: David S. Miller @ 1999-01-21  7:58 UTC (permalink / raw)
  To: Geert.Uytterhoeven; +Cc: davies, becker, linux-kernel, linuxppc-dev


   Date: 	Wed, 20 Jan 1999 22:28:13 +0100 (CET)
   From: Geert Uytterhoeven <Geert.Uytterhoeven@cs.kuleuven.ac.be>

   On my machine, de4x5.c works, while tulip.c doesn't.

   Machine is a CHRP/PPC box, Ethernet is 21041 based D-Link DE-530CT.

 ...

   So at least the Ethernet HW address is in the wrong endiannes for tulip.c.

   Are there people who can use tulip.c on a big endian machine?

Nope, I gave up a long time ago using anything other than de4x5.c on
sparc machines. 

Later,
David S. Miller
davem@dm.cobaltmicro.com

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to  Cc linuxppc-dev  if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re:de4x5 vs. tulip on PPC
  1999-01-20 21:28 de4x5 vs. tulip on PPC Geert Uytterhoeven
  1999-01-21  7:58 ` David S. Miller
@ 1999-01-21 17:32 ` Alain RICHARD
  1 sibling, 0 replies; 3+ messages in thread
From: Alain RICHARD @ 1999-01-21 17:32 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: linuxppc-dev


>On my machine, de4x5.c works, while tulip.c doesn't.
>
>Machine is a CHRP/PPC box, Ethernet is 21041 based D-Link DE-530CT.
>
>Relevant kernel messages:
>
>| eth0: DC21041 at 0x1080 (PCI bus 0, device 4), h/w address
>00:80:c8:5a:f8:5b,
>                                                             ^^^^^^^^^^^^^^^^^
>|       and requires IRQ29 (provided by PCI BIOS).
>| de4x5.c:V0.543 1998/12/30 davies@maniac.ultranet.com
>| eth0: media is TP.
>
>| tulip.c:v0.89H 5/23/98 becker@cesdis.gsfc.nasa.gov
>| eth0: Digital DC21041 Tulip at 0x1080, 21041 mode, 80 00 5a c8 5b f8,
>IRQ 29.
>                                                     ^^^^^^^^^^^^^^^^^
>| eth0: 21041 transmit timed out, status fc680000, CSR12 000001c8, CSR13
>ffffef05, CSR14 ffffff3f, resetting...
>| eth0: 21041 transmit timed out, status fc680010, CSR12 000052c8, CSR13
>ffffef09, CSR14 fffff7fd, resetting...
>| eth0: 21041 transmit timed out, status fc680010, CSR12 000001c8, CSR13
>ffffef05, CSR14 ffffff3f, resetting...
>| eth0: 21041 transmit timed out, status fc680010, CSR12 000052c8, CSR13
>ffffef09, CSR14 fffff7fd, resetting...
>
>So at least the Ethernet HW address is in the wrong endiannes for tulip.c.
>
>Are there people who can use tulip.c on a big endian machine?
>
>Greetings,
>
>						Geert
>
>--
>Geert Uytterhoeven                     Geert.Uytterhoeven@cs.kuleuven.ac.be
>Wavelets, Linux/{m68k~Amiga,PPC~CHRP}  http://www.cs.kuleuven.ac.be/~geert/
>Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium
>
>

I have tried both tulip and de4x5.c driver and I have had the same problem
as you. In fact de4x5 works perfectly and there is no real reason to try to
use the tulip driver.

As far as I know, the first version of de4x5 driver was developped only for
10Mb/s ethernet Dec chips (DE425/DE434/DE435/DE450/DE500), and the tulip
driver was developped for the 10/100Mb/s chips (DEC 21040-family).

But the tulip driver was buggy and not well maintained, so the support for
the Dec 21x4x chip was added to the de4x5 driver.

Now, the tulip driver is not updated and was not tested on big-endian
machines. I think this driver will be removed at some time from the
distribution.

The de4x5 driver is regularly updated and maintained and works great for
all the 10/100 cards I have tested and its performance is very good (near
95mb/s per sec between two linux machines). It works on the i386 and PPC
side (PowerMac, and probably with other big-endian plateform such as Sparc).

As far as I know, there is no real reason to prefer the tulip driver. Also
the de4x5 driver works well as a module (I hope one day the drivers will be
removed from the core kernel to evols separately as modules only).

Regards,
------------------------------------------------
Alain RICHARD <mailto:alain_richard@equation.fr>
EQUATION SA <http://www.equation.fr>

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to  Cc linuxppc-dev  if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-01-21 17:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-01-20 21:28 de4x5 vs. tulip on PPC Geert Uytterhoeven
1999-01-21  7:58 ` David S. Miller
1999-01-21 17:32 ` Alain RICHARD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).