Subject: ep driver support for 3Com 5c515 10/100 ISA Ethernet
To: None <current-users@netbsd.org>
From: Jason R Thorpe <thorpej@zembu.com>
List: current-users
Date: 07/26/2001 19:51:07
...and from the "Better late than never" department...

A few years ago I started poking around at adding support for the 3c515
10/100 ISA (yes, you heard that right) Ethernet adapter... well, I finally
finished it up tonight (it involved digging through boxes from one office
and two house moves), and am punishing myself my using it as the main
Ethernet interface in my API UP1000 Alpha machine (please, don't let the
irony of using an ISA Ethernet card in a high-performance Alpha workstation
get lost, especially when you consider I've been doing Gigabit Ethernet
testing/benchmarking on this machine for the past couple of weeks).

[ using 337048 bytes of netbsd ELF symbol table ]
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.5W (BASIL) #14: Thu Jul 26 19:23:00 PDT 2001
    thorpej@basil.shagadelic.org:/amd/yeah-baby/u1/netbsd/src/sys/arch/alpha/compile/BASIL
API UP1000 598 MHz, s/n 
8192 byte page size, 1 processor.
total memory = 128 MB
(2728 KB reserved for PROM, 125 MB used by NetBSD)
avail memory = 112 MB
using 814 buffers containing 6512 KB of memory
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), 21264A-8
cpu0: Architecture extensions: 307<PAT,MVI,CIX,FIX,BWX>
.
.
.
ep0 at isapnp0 port 0x280/32 irq 11 drq 3
ep0: 3Com Fast EtherLink ISA 
ep0: address 00:60:97:bd:72:20, 64KB word-wide FIFO, 1:1 Rx:Tx split
nsphy0 at ep0 phy 24: DP83840 10/100 media interface, rev. 1
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
.
.
.

basil:thorpej 3$ ifconfig ep0
ep0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        address: 00:60:97:bd:72:20
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active
        inet 208.176.2.164 netmask 0xfffffff0 broadcast 208.176.2.175
        inet6 fe80::260:97ff:febd:7220%ep0 prefixlen 64 scopeid 0x4
        inet6 3ffe:507:183::3 prefixlen 64
        inet6 3ffe:507:183:0:260:97ff:febd:7220 prefixlen 64
basil:thorpej 4$ 

In case anyone cares, the 3c515 is a 3c905 ``Boomerang'' chip,
which has been stuck behind a Texas Instruments ISA->PCI glue
chip, i.e. a gigantic hack (it's called ``Corkscrew'' for a
reason :-)  The thing can apparently do DMA (I presume it acts
as an ISA busmaster), but I don't know that that works (it's
hacked), so we do PIO on the chip, like the 3c574 ``Roadrunner''
PCMCIA 10/100 cards...

Anyway, not that I expect anyone to actually *HAVE* any of these
cards, but if you do, enjoy :-)

-- 
        -- Jason R. Thorpe <thorpej@zembu.com>