From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KpOV6-0001Vz-JP for qemu-devel@nongnu.org; Mon, 13 Oct 2008 10:34:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KpOV4-0001VX-AQ for qemu-devel@nongnu.org; Mon, 13 Oct 2008 10:34:24 -0400 Received: from [199.232.76.173] (port=35625 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KpOV4-0001VS-3m for qemu-devel@nongnu.org; Mon, 13 Oct 2008 10:34:22 -0400 Received: from mail.codesourcery.com ([65.74.133.4]:58587) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KpOV3-0001cC-Ae for qemu-devel@nongnu.org; Mon, 13 Oct 2008 10:34:21 -0400 From: Paul Brook Subject: Re: [Qemu-devel] [PATCH] Davicom DM9000 emulation Date: Mon, 13 Oct 2008 15:34:17 +0100 References: <1223892743.30000.25.camel@petitemort> <1223906508.30000.34.camel@petitemort> <1223907613.30000.42.camel@petitemort> In-Reply-To: <1223907613.30000.42.camel@petitemort> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810131534.18395.paul@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, dsilvers@simtec.co.uk On Monday 13 October 2008, Daniel Silverstone wrote: > On Mon, 2008-10-13 at 15:01 +0100, Daniel Silverstone wrote: > > Attached is the fixed patch with these changes. > > I have to apologise -- that patch lacked some semi-colons. > > Also, it appears that some devices don't have the headers required for > target_phys_addr_t included before they include devices.h so I had to > use an #ifdef around the dm9000_init declaration. If this isn't right > then I need to know what the right thing to include in such drivers is. > It seems a bit unfortunate to force other drivers to include headers > they were otherwise managing without. Using target_phys_addr_t is a lie. Your device only implements 32 bits of address space. Paul