From owner-freebsd-hackers Wed Aug 2 1:24:24 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 0001937C066 for ; Wed, 2 Aug 2000 01:24:19 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e727V8406989; Wed, 2 Aug 2000 00:31:08 -0700 (PDT) Date: Wed, 2 Aug 2000 00:31:08 -0700 From: Alfred Perlstein To: Nick Sayer Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: ESS Solo driver almost there (was Re: US$100 prize for adding ESS Audiodrive support to pcm) Message-ID: <20000802003107.U4854@fw.wintelcom.net> References: <3985A21A.7CD51B31@quack.kfu.com> <39865E3A.30C99D29@quack.kfu.com> <3987DA2D.6A2EB8FC@quack.kfu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <3987DA2D.6A2EB8FC@quack.kfu.com>; from nsayer@quack.kfu.com on Wed, Aug 02, 2000 at 01:22:05AM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Nick Sayer [000802 00:30] wrote: > Channel 2 works now, and channel 1 is almost working. I ran across this > note in the > NetBSD source for their Solo driver... > > > /* > * Apparently the Audio 1 DMA controller's current address > * register can't roll over a 64K address boundary, so we have > to > * take care of that ourselves. The second channel DMA > controller > * doesn't have that restriction, however. > */ > > It would make sense that the results I'm seeing with the current driver > might be > caused by this bug (it sounds like a square wave is slecting between the > audio > playback and a white noise source when playing back 16 bit audio. The > frequency > of the square wave is proportional to the data rate at the time). > > Does anyone know how one might place a restriction on a PCM driver's DMA > buffer > that it not cross a (physical) 64k boundary? Do you mean allocating it with contigmalloc? -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message