Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Maurice Hilarius <maurice@ellpspace.math.ualberta.ca>
Subject: Re: 3com 3C509B Ethernet Controllers
Date: Mon, 5 Aug 96 09:51 MDT	[thread overview]
Message-ID: <m0unRw0-000MjeC@ellpspace.math.ualberta.ca> (raw)

At 09:28 AM 08-05-96 +0200, you wrote:
>sp0t the w0nder slug wrote:
>> 
>> I've got a 3Com Etherlink III that i'm using on my EB164, I notice that
>> according to the list of compatible hardware this particular chipset
>> isn't supported.. I was wondering if anyone had any luck in getting one
>> of these cards to work under Alpha-Linux.
>> --
>
>Yes! After some help with 3c509.c (SLOW_DOWN_IO) and io.c (adding unaligned 
>versions of insl() and outsl()), I successfully uses a 3COM 509b on an AXPpci33
>(noname) machine with RedHat 3.0.3 linux.
>
>There is a lot of drivers available for all kinds of 3COM cards. Some problems
>may be the already mentioned (SLOW..., unaligned traps).
>Good luck, Johan S.
>
Paul Gortmaker <gpg109@rsphy6.anu.edu.au> wrote a lot of the Ethernet
drivers we all use, and his recent comments on the 3C509 included:
Note that the '509 hasn't been "Alpha-approved" yet. I went through and
made all the 8390 drivers (3c503, wd80x3, ne2k, smc ultra, etc) alpha
compatible, but the '509 hasn't been done yet. Since it doesn't use
shared memory, the changes typically only involve *not* assuming a
100Hz jiffy clock, which at a glance appears to be only a one-line
change to 3c509.c as below:

--- linux/drivers/net/3c509.c~	Sun Aug  4 18:42:16 1996
+++ linux/drivers/net/3c509.c	Sun Aug  4 18:47:54 1996
@@ -430,7 +430,7 @@
 	/* Transmitter timeout, serious problems. */
 	if (dev->tbusy) {
 		int tickssofar = jiffies - dev->trans_start;
-		if (tickssofar < 40)
+		if (tickssofar < 40*HZ/100)
 			return 1;
 		printk("%s: transmit timed out, Tx_status %2.2x status %4.4x "
 			   "Tx FIFO room %d.\n",

Other than that, the 3c509 should work "out of the box", although you
will still face the problem of needing to run the setup in a DOS box
to kill off plug-n-pray, and set the desired IRQ, i/o base and media
interface. Send 3Com an e-mail telling them they should ship their
cards with pnp disabled by default (would save me a lot of e-mail).

Cheers,
        Maurice
+--------------------------------------------------------------------------+
| Maurice Hilarius                   | The Past is History                 |
| Proprietor / Chief Consultant      |  The Future is Mystery              |
| Hard Data Ltd.                     |   Today is a Gift                   |
| 403-456-1510 / FAX 403-457-1338    | That is why they call it            |
| maurice@ellpspace.math.ualberta.ca |     The Present                     |
+--------------------------------------------------------------------------+

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

             reply	other threads:[~1996-08-05 15:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-08-05 15:51 Maurice Hilarius [this message]
     [not found] <32070387.4A87@superlink.net>
1996-08-06 17:03 ` 3com 3C509B Ethernet Controllers jestabro
  -- strict thread matches above, loose matches on Subject: below --
1996-08-06  8:34 Uncle George
1996-08-05  7:28 Johan Sarkinen
1996-08-01 19:19 sp0t the w0nder slug
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