Subject: Re: xy7053 & dma? (1.2_BETA)
To: None <port-sun3@NetBSD.ORG>
From: Christoph Badura <bad@flatlin.ka.sub.org>
List: port-sun3
Date: 09/13/1996 02:06:00
Gordon W. Ross writes;
>It's fairly serious.  The interface between drivers and the DVMA
>module needs to change.  The Sun3 has only a relatively small DVMA
>space, so the kernel needs to either:
>(1) Have drivers permanently allocate DVMA space at attach time, or
>(2) Come up with a way for driver interrupt routines to wait for
>    the required DVMA space before starting the next transfer.

>I think I can do (1) fairly easily, and that will allow up to 3
>controllers or so.  Doing (2) would be better, but would really
>need kernel threads to do nicely, so the driver could just use a
>"work" thread to do transfers, so the "work" thread can block on
>resource shortages (like DVMA space).  That's a long way off...

Uhm, why wouldn't a variation of the old VAX UBA resource allocation
code handle this?





-- 
Christoph Badura	bad@flatlin.ka.sub.org

You don't need to quote my .signature.  Everyone has seen it by now.
Besides, it doesn't add anything to the current thread.