Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: 3com 3C509B Ethernet Controllers
@ 1996-08-06  8:34 Uncle George
  0 siblings, 0 replies; 5+ messages in thread
From: Uncle George @ 1996-08-06  8:34 UTC (permalink / raw)


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.
I have my 3c509 working on a noname. I have, instead of fixing
insl/outsl 
system routines, fix the 3c509b driver instead. Much easier to remember
that the 3c509 doesnt work, rather than some other routines that maybe
harder to find.
The interrupt setting for the card is somewhat harder to do. My 3c509b
is
set at 10 ( as are all of my 3c509 cards ). Although the 3c509b driver
is
happy, and apparently does the setup correctly, my noname with the
ARC/NT
console, continuously interrupts, rendering a frozen system. I had
traced 
this disabaling feature to the alpha/bios32 routines. This has not been
fixed in 3.0.3/alpha/linux, nor in the 2.0.8 version of linux ( you
should
note that the has been enhanced/modified, but the offending pair of I/O
calls are still there, although not in the same location!)
On my noname SLOW_DOWN_IO in io.h should be defined as an outb
instruction
( like that in the i386 version of io.h ). The while loop that is
substituted
for SLOW_DOWN_IO in some of the later releases just dont make it (cant
read the
eprom!)
Plz let me/us ( this mail group ) know if u need specific changes, as
every note thusfar, including this one, has only vague howto's. 
Gat/alias Uncle George

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

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: 3com 3C509B Ethernet Controllers
@ 1996-08-05 15:51 Maurice Hilarius
  0 siblings, 0 replies; 5+ messages in thread
From: Maurice Hilarius @ 1996-08-05 15:51 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: 3com 3C509B Ethernet Controllers
@ 1996-08-05  7:28 Johan Sarkinen
  0 siblings, 0 replies; 5+ messages in thread
From: Johan Sarkinen @ 1996-08-05  7:28 UTC (permalink / raw)


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 AXPp=
ci33
(noname) machine with RedHat 3.0.3 linux.

There is a lot of drivers available for all kinds of 3COM cards. Some probl=
ems
may be the already mentioned (SLOW..., unaligned traps).
Good luck, Johan S.

---------------------------------------------------------------------------=

---
       Johan S=E4rkinen   ! Memtek Development AB! Ericsson Components AB
email: johan@memtek.se  ! admin@memtek.se      ! ekaxjas@kkeka.ericsson.se
Phone: +46 70 593 75 05 ! +46 8 25 70 10       ! +46 8 72 172 72
  Fax: +46  8 744 27 23 ! +46 8 25 29 05       ! +46 8 72 168 00
smail: Pingstv. 14      ! Box 152 15           ! Room KX2 07.062,S-16481 KI=
STA
       S-12636 HAGERSTEN! S-16115 BROMMA       ! MEMO: EKA.EKAXJAS
>> Check out node http://www.memtek.se for latest news on hot technology. <=
<

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

^ permalink raw reply	[flat|nested] 5+ messages in thread
* 3com 3C509B Ethernet Controllers
@ 1996-08-01 19:19 sp0t the w0nder slug
  0 siblings, 0 replies; 5+ messages in thread
From: sp0t the w0nder slug @ 1996-08-01 19:19 UTC (permalink / raw)


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.
	Thanks..
		-Dave
		 sp0t@ai.mit.edu

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1996-08-06 17:03 UTC | newest]

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

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