Received: from eggs.gnu.org ([140.186.70.92]:40649) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtAFz-00005W-Bb for qemu-devel@nongnu.org; Mon, 15 Aug 2011 23:24:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QtAFx-0005iX-0k for qemu-devel@nongnu.org; Mon, 15 Aug 2011 23:23:59 -0400 Received: from ozlabs.org ([203.10.76.45]:33209) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtAFw-0005iS-GG for qemu-devel@nongnu.org; Mon, 15 Aug 2011 23:23:56 -0400 Date: Tue, 16 Aug 2011 13:23:52 +1000 From: David Gibson Message-ID: <20110816032352.GF18203@yookeroo.fritz.box> References: <1313392868-9259-1-git-send-email-david@gibson.dropbear.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH] Rename dma.c and its contents to reflect its ISA specific nature List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: malc Cc: qemu-devel@nongnu.org On Mon, Aug 15, 2011 at 11:39:29AM +0400, malc wrote: > On Mon, 15 Aug 2011, David Gibson wrote: > > > hw/dma.c does not contain code generally relevant to drivers accessing > > system memory. In particular, it has no connection to dma.h, which does > > have headers pertaining to the generally useful dma functions in > > dma-helpers.c. Rather, it is code specific to emulating the legacy > > ISA-style DMA controllers found on some platforms. > > > > To address this misleading naming, this function renames hw/dma.c to > > hw/isa-dma.c, and renames exported functions within it as s/DMA/isa_dma/. > > Makefiles and configure script are updated accordingly. > > > > It has been done before btw: > http://repo.or.cz/w/qemu/malc.git/shortlog/refs/heads/redma1 > http://repo.or.cz/w/qemu/malc.git/shortlog/refs/heads/redma > > With a slightly more consistent naming (i8257_ instead of isa_dma_) > Not that i object to this. Ok, so, was there a reason that patch didn't go in at the time? -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson