From owner-freebsd-current Thu Aug 14 22:10:33 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id WAA08089 for current-outgoing; Thu, 14 Aug 1997 22:10:33 -0700 (PDT) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id WAA08082 for ; Thu, 14 Aug 1997 22:10:30 -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 WAA00321 for ; Thu, 14 Aug 1997 22:10:29 -0700 (PDT) Message-Id: <199708150510.WAA00321@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: current@freebsd.org Subject: isa.c:isa_dmastatus(int chan) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 14 Aug 1997 22:10:29 -0700 From: Amancio Hasty Sender: owner-freebsd-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Can someone delete the enclosed data from isa_dmastatus? isa_dmastatus(int chan) { u_long cnt = 0; int ffport, waport; u_long low1, high1, low2, high2; u_long ef; /* delete this block of code */ /* channel active? */ if ((dma_inuse & (1 << chan)) == 0) { printf("isa_dmastatus: channel %d not active\n", chan); return(-1); } /* still busy? */ if ((dma_busy & (1 << chan)) == 0) { return(0); } /* end of delete block */ ---- isa_dmastatus is really meant for the sound driver and we are using in auto dma mode. Also it is a bad idea to print diagnostic messages such as the above . Tnks, Amancio