Subject: Re: SunSwift SBUS card
To: Jason R Thorpe <thorpej@zembu.com>
From: Andrei Petrov <and@genesyslab.com>
List: port-sparc
Date: 01/24/2001 18:00:31
On Wed, 24 Jan 2001, Jason R Thorpe wrote:

> On Thu, Jan 25, 2001 at 12:31:19AM -0000, eeh@netbsd.org wrote:
> 
>  > I believe this is the good old happy meal card.  It has a
>  > hme ("happy meal ethernet") and a fas.  This is basically
>  > the same thing on the motherboards of Ultra 1 and 2s among
>  > other Sun machines.  We have a driver for the hme, but no 
>  > driver for the fas nor a time frame for driver completion 
>  > (although I do know some work was being done in that area.)
> 
> The "fas" is just a studlier version of the "esp" in this
> case, right?  What's the issue holding it up?
> 

It's quite different, mostly DMA and FIFO. What I got so far is:
configured, attached, passed INQUIRY and broke in START_AND_STOP I think.
DMA seems to work now. 

NetBSD 1.5K (MUPPET) #115: Wed Jan 24 17:05:15 PST 2001
    and@vishnu:/usr/src/sparc64/sys/arch/sparc64/compile/MUPPET
total memory = 256 MB
avail memory = 229 MB
using 1651 buffers containing 13208 KB of memory
bootpath: /sbus@1f,0/SUNW,hme@e,8c00000
mainbus0 (root): SUNW,Ultra-2
cpu0 at mainbus0
cpu0: SUNW,UltraSPARC @ 199.992 MHz, version 0 FPU

...

sbus args: SUNW,fas, node 0xf006c818
           nreg 2, npromvaddress 0, nintr 1
           registers: slot 14, offset 0x8800000, size 0x10
		      slot 14, offset 0x8810000, size 0x40
           promvaddrs:
           interrupts: 1820/20
esp0 at sbus0 slot 14 offset 0x8800000 vector 20 ipl 3
esp0: FAS366/HME, 40MHz, SCSI ID 7

...

esp0: target 0: sync negotiation
sd0 at scsibus0 target 0 lun 0: <SEAGATE, ST34371W SUN4.2G, 7462> SCSI2
0/direct fixed

...

gotmsg(1)extended(0) sd0(esp0:0:0): unrecognized MESSAGE EXTENDED; sending
REJECT