Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Aug 1997 12:12:49 -0700
From:      Amancio Hasty <hasty@rah.star-gate.com>
To:        Luigi Rizzo <luigi@labinfo.iet.unipi.it>
Cc:        CSP1DWD@MVS.OAC.UCLA.EDU, multimedia@FreeBSD.ORG, msmith@FreeBSD.ORG
Subject:   Re: ftp://rah.star-gate.com/pub/guspnp18.tar.gz 
Message-ID:  <199708301912.MAA07238@rah.star-gate.com>
In-Reply-To: Your message of "Sat, 30 Aug 1997 13:47:34 %2B0200." <199708301147.NAA02942@labinfo.iet.unipi.it> 

next in thread | previous in thread | raw e-mail | index | archive | help
Please sync up the code since both routines you wrote I merely bypassed
the isa busy flag in auto dma mode.


	Amancio

>From The Desk Of Luigi Rizzo :
> > Well Luigi, are you going to retrofit 2.2's isa.c?
> 
> I just checked the differences between the two files. In the functions
> related to DMA the only significant difference is that in my code
> isa_dmastatus() returns 0 instead of -2 if the channel is not active
> (both the busy and auto_mode flags are 0). I prefer this because a
> count of 0 means that the transfer is complete anyways, and it is not
> required to check the exception in the caller (which would have to map
> th e"-2" to 0 anyways).
> 
> 	Luigi
> -----------------------------+--------------------------------------
> Luigi Rizzo                  |  Dip. di Ingegneria dell'Informazione
> email: luigi@iet.unipi.it    |  Universita' di Pisa
> tel: +39-50-568533           |  via Diotisalvi 2, 56126 PISA (Italy)
> fax: +39-50-568522           |  http://www.iet.unipi.it/~luigi/
> _____________________________|______________________________________





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708301912.MAA07238>