lkml.org 
[lkml]   [1996]   [Nov]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject2.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


\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.019 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site