Subject: Re: Asante Enet Box
To: Tommy Tarka <tommy@clockwork.dementia.org>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-mac68k
Date: 12/17/1996 14:44:25
On Tue, 17 Dec 1996 14:51:08 -0500 (EST) 
 Tommy Tarka <tommy@clockwork.dementia.org> wrote:

 > I am running NetBSD 1.2 on my Duo230, with a Duo MiniDock.  Because I have
 > no expansion ports, I instead have an Asante SCSI Ethernet box (yes, its
 > external).  Is there any existing support for such a beast, or, could
 > anyone point me in the correct direction with regards to making such a
 > device work?  

Phil Bunde (I think??) implemented a userspace driver for the cabletron
version of this...

In any case, it was good to get the driver working that way, however,
a kernel driver should be implemented, and isn't really that hard to do.

The first step is to get as much documentation on the device as you
can, including the SCSI commands it uses.

 > For that matter, in lieu of existing support, how does one usually address
 > the network interface (is a normal ethernet card a device, and if so,
 > which one...? tun**?).

Actually, you'd write a driver for sys/scsi/..., and instead of attaching
it as a disk or tape or having conf.c entry points, you call if_attach()
and treat it like a network interface... use SCSI commands to transmit
the mbuf chains, and then set up periodic timeouts to check for the
existence of packets...

"Simple, right?"  :-)

Anyhow, I'm CC'ing myself at home so I can remember to dig up the mail
I sent to port-pc532 about this...

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939