Subject: Re: xy7053 & dma? (1.2_BETA)
To: None <thorpej@nas.nasa.gov>
From: Gordon W. Ross <gwr@mc.com>
List: port-sun3
Date: 09/11/1996 19:11:06
> From: Jason Thorpe <thorpej@nas.nasa.gov>
> Date: Wed, 11 Sep 1996 15:35:07 -0700

> On Wed, 11 Sep 96 17:55:58 EDT 
>  "Gordon W. Ross" <gwr@mc.com> wrote:
> 
>  > (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...
> 
> Maybe a good short term solution is to set up a timeout to restart the 
> work queue in the event it gets stalled due to DVMA space shortage?

Yes, that should work fine.

Gordon