Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Ion Badulescu <ionut@moisil.wal.rhno.columbia.edu>
Subject: Re: Tulip driver in 2.0.24
Date: Sun, 3 Nov 1996 12:06:52 -0500 (EST)	[thread overview]
Message-ID: <c7fe29b773ad41f34d4db869fd64d576.axp-list@archive.invalid> (raw)
In-Reply-To: <Pine.LNX.3.91.961103171333.329A-100000@rebekka.tu-graz.ac.at>

Hi,

On Sun, 3 Nov 1996, Linux support wrote:

> I was not able to get my smc8432 (DEC 21041 Tulip) card working with 
> 2.0.24. 
> 
> After restoring tulip.c to the 2.0.23 version, it works fine again.
> 
> I got the message "eth0: enabling BNC port" repeating after some seconds, 
> but the interface does never come up.

I've got the same problem with a 21041-based card: stock 2.0.24 does not
work at all and instead cycles the port type; 2.0.23 works just fine as
does 2.0.24 with tulip.c from 2.0.23; finally, 2.1.7 (which includes
_almost_ the same changes to tulip.c as 2.0.24) again works fine.

Now, there is a catch here: the difference between tulip.c in 2.1.7 and
2.0.24 is a constant. 2.1.7 has the correct value (as Linus pointed out in
a previous message). This is the patch for 2.0.24 (apply it with -p1): 

--- linux/drivers/net/tulip.c.orig	Sun Nov  3 12:02:47 1996
+++ linux/drivers/net/tulip.c	Fri Nov  1 06:58:44 1996
@@ -1145,7 +1145,7 @@
 			tp->tx_skbuff[entry] = 0;
 			/* Put the setup frame on the Tx list. */
 			tp->tx_ring[entry].length = 192 |
-			      (entry == TX_RING_SIZE-1 ? 0x0a000000 : 0x08000);
+			      (entry == TX_RING_SIZE-1 ? 0x0a000000 : 0x08000000);
 			tp->tx_ring[entry].buffer1 = virt_to_bus((char *)tp->setup_frame);
 			tp->tx_ring[entry].buffer2 = 0;
 			tp->tx_ring[entry].status = TRING_OWN;

Ionut

--
Ionut Badulescu - Columbia College '98	    E-mail:ib42@columbia.edu
Phone: (212)853-7875			    Snail mail: 4A4 Wallach Hall
Fax: (212)695-5560					1116 Amsterdam Ave
PGP key available on request				New York, NY 10027
  It is better to keep your mouth shut and be thought a fool,
            than to open it and remove all doubt.

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

       reply	other threads:[~1996-11-03 17:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.3.91.961103171333.329A-100000@rebekka.tu-graz.ac.at>
1996-11-03 17:06 ` Ion Badulescu [this message]
1996-11-04  3:56 Tulip driver in 2.0.24 Brian Topping
  -- strict thread matches above, loose matches on Subject: below --
1996-11-03 22:56 Matthew Jacob
1996-11-03 21:55 Brian Topping
1996-11-03 21:39 Brian Topping
     [not found] <torvalds@cs.helsinki.fi>
1996-11-03 19:48 ` Franz Sirl
1996-11-03 22:48 ` Franz Sirl
1996-11-03 16:19 Linux support
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox