Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GRCwy-00009P-09 for qemu-devel@nongnu.org; Sat, 23 Sep 2006 15:14:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GRCwu-000088-Vr for qemu-devel@nongnu.org; Sat, 23 Sep 2006 15:14:06 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GRCwu-00007x-Oi for qemu-devel@nongnu.org; Sat, 23 Sep 2006 15:14:04 -0400 Received: from [65.54.246.80] (helo=bay0-omc1-s8.bay0.hotmail.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GRD0w-0000mS-7X for qemu-devel@nongnu.org; Sat, 23 Sep 2006 15:18:14 -0400 Message-ID: In-Reply-To: <45157467.4070909@bellard.org> From: "Blue Swirl" Date: Sat, 23 Sep 2006 21:14:03 +0200 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Subject: [Qemu-devel] Re: Audio output for CS4231, patch/RFC Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: fabrice@bellard.org Cc: paul@codesourcery.com, qemu-devel@nongnu.org >One comment: you could move the DMA related functions and registers to >sparc32_dma.c because it seems reasonnable that the DMA stuff was really >implemented outside of the cs4231 chip (I believe the same chip was used in >some PC cards with an ISA based DMA). I had thought about that, but the CS and DMA registers are located in nearby addresses. Cleanest solution from the driver point of view would be that Qemu handled the case correctly where several drivers register non-overlapping memory areas of less than one page size within the same page. That way the DMA controller could reside in sparc32_dma.c and not know anything about CS registers and vice versa. Looks like the PC cards were called Windows Sound System compatible and there were several manufacturers in the early '90s. _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/