Re: Dec Tulip LAN card, ne2000 and 2.0.31-3

Franz Sirl (
Wed, 06 Aug 1997 11:10:09 +0200

At 20:13 05.08.97 -0400, William Perkins wrote:
>I am having a small problem with 2.0.30-3 on a Pentium system...
>I have a ne2000 clone card set up as eth1 and a Dec Tulip LAN card
>set up as eth0. The Tulip card has never been used. My network is
>all 10base-2. However, it is configured into the kernel and the
>network for future use.
>When I started using 2.0.31-3, the ne2000 card stopped being
>recognized by the kernel at boot time. Both LAN card drivers are
>compiled as part of the kernel, not as modules. If I back down to
>the 2.0.30-2 kernel, or compile the 2.0.30-3 kernel without the
>Dec Tulip driver, the ne2000 card works just fine.

The following patch should fix that:
--- tulip.c-pre3 Tue Aug 5 13:46:57 1997
+++ tulip.c Tue Aug 5 13:50:28 1997
@@ -499,7 +499,7 @@
#if defined (MODULE)
return cards_found;
- return 0;
+ return (cards_found > 0 ? 0 : -ENODEV);

The patch is alraedy sent to Linus.