From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:60948) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfUjS-0001Ur-QL for qemu-devel@nongnu.org; Fri, 15 Jun 2012 07:30:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SfUjN-0008ON-Tq for qemu-devel@nongnu.org; Fri, 15 Jun 2012 07:30:26 -0400 Received: from cantor2.suse.de ([195.135.220.15]:39684 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfUjN-0008Nw-Kc for qemu-devel@nongnu.org; Fri, 15 Jun 2012 07:30:21 -0400 Message-ID: <4FDB1CC9.3020305@suse.de> Date: Fri, 15 Jun 2012 13:30:17 +0200 From: =?ISO-8859-15?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <18cf993e615d81b1f7f2a71d6ef696a20089022d.1339562634.git.peter.crosthwaite@petalogix.com> In-Reply-To: <18cf993e615d81b1f7f2a71d6ef696a20089022d.1339562634.git.peter.crosthwaite@petalogix.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable 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: "Peter A. G. Crosthwaite" , edgar.iglesias@gmail.com Cc: monstr@monstr.eu, qemu-devel@nongnu.org, john.williams@petalogix.com 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 devi= ce in the > Xilinx EDK development tools. >=20 > Signed-off-by: Peter A. G. Crosthwaite Same here. Please review more carefully. /-F > --- > hw/xilinx.h | 2 +- > hw/xilinx_axidma.c | 4 ++-- > 2 files changed, 3 insertions(+), 3 deletions(-) >=20 > 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 =3D NULL; > =20 > - dev =3D qdev_create(NULL, "xilinx,axidma"); > + dev =3D 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); > =20 > 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); > =20 > for (i =3D 0; i < 2; i++) { > @@ -502,7 +502,7 @@ static void axidma_class_init(ObjectClass *klass, v= oid *data) > } > =20 > static TypeInfo axidma_info =3D { > - .name =3D "xilinx,axidma", > + .name =3D "xlnx.axi-dma", > .parent =3D TYPE_SYS_BUS_DEVICE, > .instance_size =3D sizeof(struct XilinxAXIDMA), > .class_init =3D axidma_class_init, --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 16746 AG N=FCrnbe= rg