Subject: Re: fas and hme support
To: None <eeh@netbsd.org>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-sparc
Date: 12/19/1999 16:34:29
On Sun, 19 Dec 1999 08:29:15 -0800 (PST)
eeh@one-o.com (Eduardo E. Horvath) wrote:
> fas is an interesting proposition. It's an enhanced esp with a DMA
> engine all rolled into one. It should be possible to get the current
> esp driver to run it if only in narrow mode. The problem is figuring
> out how to get both the esp driver and the dma driver to attach to the
> same OBP node without stepping on each other. Ideally dma should bind
> to the `SUNW,fas' OBP node and force it to bind to the same node or
> somehow create a phony esp node, but I can't come up with a clean
> solution.
That's not what you have to do. What you do is create a new attachment
for ncr53c9x.c called "fas", which has its own DMA callbacks. E.g., do
it like the "pcscp" driver (sys/dev/pci/pcscp.c).
It should be totally trivial to do.
-- Jason R. Thorpe <thorpej@nas.nasa.gov>