From owner-freebsd-multimedia Sat Aug 30 12:13:09 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA29051 for multimedia-outgoing; Sat, 30 Aug 1997 12:13:09 -0700 (PDT) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA29044; Sat, 30 Aug 1997 12:13:06 -0700 (PDT) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.7/8.8.5) with ESMTP id MAA07238; Sat, 30 Aug 1997 12:12:50 -0700 (PDT) Message-Id: <199708301912.MAA07238@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: Luigi Rizzo cc: CSP1DWD@MVS.OAC.UCLA.EDU, multimedia@FreeBSD.ORG, msmith@FreeBSD.ORG Subject: Re: ftp://rah.star-gate.com/pub/guspnp18.tar.gz In-reply-to: Your message of "Sat, 30 Aug 1997 13:47:34 +0200." <199708301147.NAA02942@labinfo.iet.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 30 Aug 1997 12:12:49 -0700 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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/ > _____________________________|______________________________________