From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Mon, 5 Aug 96 09:51 MDT From: Maurice Hilarius Subject: Re: 3com 3C509B Ethernet Controllers 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 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