From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:45611) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfhYF-0007LE-6k for qemu-devel@nongnu.org; Fri, 15 Jun 2012 21:11:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SfhYD-0007UZ-Fc for qemu-devel@nongnu.org; Fri, 15 Jun 2012 21:11:42 -0400 Received: from mail-bk0-f45.google.com ([209.85.214.45]:49029) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfhYD-0007UK-5t for qemu-devel@nongnu.org; Fri, 15 Jun 2012 21:11:41 -0400 Received: by bkwj10 with SMTP id j10so2929849bkw.4 for ; Fri, 15 Jun 2012 18:11:39 -0700 (PDT) Date: Sat, 16 Jun 2012 03:11:33 +0200 From: "Edgar E. Iglesias" Message-ID: <20120616011133.GA18987@zapo> References: <18cf993e615d81b1f7f2a71d6ef696a20089022d.1339562634.git.peter.crosthwaite@petalogix.com> <4FDB1CC9.3020305@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4FDB1CC9.3020305@suse.de> Subject: Re: [Qemu-devel] [PATCH v2 11/11] xilinx_axidma: changed device name List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andreas =?iso-8859-1?Q?F=E4rber?= Cc: "Peter A. G. Crosthwaite" , monstr@monstr.eu, qemu-devel@nongnu.org, john.williams@petalogix.com On Fri, Jun 15, 2012 at 01:30:17PM +0200, Andreas Färber wrote: > Am 13.06.2012 06:46, schrieb Peter A. G. Crosthwaite: > > Changed device name to xlnx,axi-dma. This is the exact name of the device in the > > Xilinx EDK development tools. > > > > Signed-off-by: Peter A. G. Crosthwaite > > Same here. Please review more carefully. Code is an approximation of the real name. Commas are not ok in QEMU, so dot will do. If you wan't quality reviews, pay somebody to verify comments vs code. I'll review best effort when time permits until somone pays me for doing better. Dont matter what you or anyone says. Cheers > > /-F > > > --- > > hw/xilinx.h | 2 +- > > hw/xilinx_axidma.c | 4 ++-- > > 2 files changed, 3 insertions(+), 3 deletions(-) > > > > diff --git a/hw/xilinx.h b/hw/xilinx.h > > index 8f915b4..7df21eb 100644 > > --- a/hw/xilinx.h > > +++ b/hw/xilinx.h > > @@ -75,7 +75,7 @@ xilinx_axiethernetdma_create(void *dmach, > > { > > DeviceState *dev = NULL; > > > > - dev = qdev_create(NULL, "xilinx,axidma"); > > + dev = qdev_create(NULL, "xlnx.axi-dma"); > > qdev_prop_set_uint32(dev, "freqhz", freqhz); > > qdev_prop_set_ptr(dev, "dmach", dmach); > > qdev_init_nofail(dev); > > diff --git a/hw/xilinx_axidma.c b/hw/xilinx_axidma.c > > index 59373b5..f4bec37 100644 > > --- a/hw/xilinx_axidma.c > > +++ b/hw/xilinx_axidma.c > > @@ -473,7 +473,7 @@ static int xilinx_axidma_init(SysBusDevice *dev) > > xlx_dma_connect_dma(s->dmach, s, axidma_push); > > > > memory_region_init_io(&s->iomem, &axidma_ops, s, > > - "axidma", R_MAX * 4 * 2); > > + "xlnx.axi-dma", R_MAX * 4 * 2); > > sysbus_init_mmio(dev, &s->iomem); > > > > for (i = 0; i < 2; i++) { > > @@ -502,7 +502,7 @@ static void axidma_class_init(ObjectClass *klass, void *data) > > } > > > > static TypeInfo axidma_info = { > > - .name = "xilinx,axidma", > > + .name = "xlnx.axi-dma", > > .parent = TYPE_SYS_BUS_DEVICE, > > .instance_size = sizeof(struct XilinxAXIDMA), > > .class_init = axidma_class_init, > > > -- > SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany > GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg