Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Fritz Ganter <ganter@rebekka.tu-graz.ac.at>
Subject: Re: UDB166 and 2.0.25 and axpdiff 2.0.21
Date: Fri, 15 Nov 1996 09:44:04 +0100 (MET)	[thread overview]
Message-ID: <8209e2325e861a1cf89663a7f53826a3.axp-list@archive.invalid> (raw)
In-Reply-To: <96111508514456@szem.szeg.matav.hu>

On Fri, 15 Nov 1996, Mihaly HOMONNAI wrote:

> I did changes that Jay suggested.
> > CONFIG_DE4X5=n
> > CONFIG_DEC_ELCP=y
> 
> When i boot 2.0.25, i get error at activating eth0:
> eth0: enabling 10bt
> eth0: enabling aui
> eth0: enabling bnc
> eth0: enabling unknown type
> eth0: enabling 10bt
> eth0: enabling aui
> 
> and so on in cycle.
> 
> I had heard sg. about tulip patches. Do i need it?

I'm not shure if you use the tulip driver. If yes, try to copy tulip.c
from 2.0.23 to /usr/src/linux/drivers/net/tulip.c, or use the patch below.

I sent out a mail yesterday, but to xp-list@redhat.com instead of
axp-list.

Here is my mail again:

From ganter@rebekka.tu-graz.ac.at Fri Nov 15 09:43:06 1996
Date: Fri, 15 Nov 1996 00:54:43 +0100 (MET)
From: Fritz Ganter <ganter@rebekka.tu-graz.ac.at>
Reply-To: ganter@fvkma.tu-graz.ac.at
To: torvalds@cs.helsinki.fi, xp-list@redhat.com,
    linux-kernel@vger.rutgers.edu
Subject: 2.0.25: Tulip.c still not working

Hello all!

I still get not running my smc8432 on an Alpha Cabriolet.
This is since the patch in 2.0.24, the patch in 25 didn't fix the problem.

After switching to runlevel 3 (I think ifconfig is called) I get
following:
Nov 15 00:33:37 jassi kernel: eth0: enabling BNC port.
Nov 15 00:34:16 jassi last message repeated 9 times
Nov 15 00:34:56 jassi last message repeated 4 times

The device never comes up, if have to do a "ifconfig eth0 down" to get the
kernel quiet.

The patch with disables my card is:

--- tulip.c	Fri Nov 15 00:36:36 1996
+++ tulip.c.25	Thu Nov 14 23:56:03 1996
@@ -37,7 +37,7 @@
 /* #define  TULIP_FULL_DUPLEX 1 */
 
 /* Define to fix port. */
-#define  TULIP_FIX_PORT 1 
+#define  TULIP_FIX_PORT 1
 
 /* Define to probe only first detected device */
 /*#define	TULIP_MAX_CARDS 1*/
@@ -1133,6 +1133,25 @@
 		} while (++i < 15);
 
 		/* Now add this frame to the Tx list. */
+		{
+			unsigned long flags;
+			unsigned int entry;
+			
+			save_flags(flags); cli();
+			entry = tp->cur_tx++ % TX_RING_SIZE;
+			tp->dirty_tx++;
+			restore_flags(flags);
+
+			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 : 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;
+			/* Trigger an immediate transmit demand. */
+			tio_write(TPOLL_TRIGGER, CSR1);
+		}
 	}
 }
 
Ignore the diff for TULIP_FIX_PORT 1.

Here is my /proc/pci for the card:
  Bus  0, device   5, function  0:
    Ethernet controller: DEC DC21041 (rev 17).
      Medium devsel.  Fast back-to-back capable.  IRQ 18.  Master Capable.
Latency=32.  
      I/O at 0xb800.
      Non-prefetchable 32 bit memory at 0x4000000.

and the boot message:

Nov 15 00:33:37 jassi kernel: tulip.c:v0.10 8/11/95 
becker@cesdis.gsfc.nasa.gov
Nov 15 00:33:37 jassi kernel:         +0.72 4/17/96
http://www.dsl.tutics.tut.ac.jp/~linux/tulip
Nov 15 00:33:37 jassi kernel: eth0: smc8432 (DEC 21041 Tulip) at 0xb800,
00:00:c0:7f:b6:ce, IRQ 18

I think this should really be fixed!

Fritz "who dances with the Linux" Ganter.      ganter@fvkma.tu-graz.ac.at
WWW: http://fvkma.tu-graz.ac.at/ganter                 ganter@quant-x.com
EDV-Consulting F.Ganter Grazerstr. 26a,A-8045 Graz    support@quant-x.com
      Member of the Quant-X Group: Alpha based Systems running Linux

--
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-15  8:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <96111508514456@szem.szeg.matav.hu>
1996-11-15  8:44 ` Fritz Ganter [this message]
1996-11-15  6:51 UDB166 and 2.0.25 and axpdiff 2.0.21 Mihaly HOMONNAI
     [not found] <96111410441849@szem.szeg.matav.hu>
1996-11-14 16:09 ` jestabro
  -- strict thread matches above, loose matches on Subject: below --
1996-11-14  8:44 Mihaly HOMONNAI
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