From owner-freebsd-multimedia Sat Aug 30 06:01:15 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id GAA16774 for multimedia-outgoing; Sat, 30 Aug 1997 06:01:15 -0700 (PDT) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id GAA16764; Sat, 30 Aug 1997 06:01:08 -0700 (PDT) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id NAA02942; Sat, 30 Aug 1997 13:47:34 +0200 From: Luigi Rizzo Message-Id: <199708301147.NAA02942@labinfo.iet.unipi.it> Subject: Re: ftp://rah.star-gate.com/pub/guspnp18.tar.gz To: hasty@rah.star-gate.com (Amancio Hasty) Date: Sat, 30 Aug 1997 13:47:34 +0200 (MET DST) Cc: CSP1DWD@MVS.OAC.UCLA.EDU, multimedia@FreeBSD.ORG, msmith@FreeBSD.ORG In-Reply-To: <199708301023.DAA03364@rah.star-gate.com> from "Amancio Hasty" at Aug 30, 97 03:23:23 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > 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/ _____________________________|______________________________________