From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:32971) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfUkP-0002sb-Ie for qemu-devel@nongnu.org; Fri, 15 Jun 2012 07:31:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SfUkN-0000KD-O0 for qemu-devel@nongnu.org; Fri, 15 Jun 2012 07:31:25 -0400 Received: from cantor2.suse.de ([195.135.220.15]:39727 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfUkN-0000Js-EP for qemu-devel@nongnu.org; Fri, 15 Jun 2012 07:31:23 -0400 Message-ID: <4FDB1D06.3040207@suse.de> Date: Fri, 15 Jun 2012 13:31:18 +0200 From: =?ISO-8859-15?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <83d316791ba43df195935931f8d4ce192967965e.1339562634.git.peter.crosthwaite@petalogix.com> In-Reply-To: <83d316791ba43df195935931f8d4ce192967965e.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 05/11] xilinx_intc: 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,xps-intc. This is the exact name of the dev= ice > in the xilinx EDK development tools. >=20 > Signed-off-by: Peter A. G. Crosthwaite Dito. /-F > --- > hw/xilinx.h | 2 +- > hw/xilinx_intc.c | 4 ++-- > 2 files changed, 3 insertions(+), 3 deletions(-) >=20 > diff --git a/hw/xilinx.h b/hw/xilinx.h > index 9ff4c2b..c183e2f 100644 > --- a/hw/xilinx.h > +++ b/hw/xilinx.h > @@ -6,7 +6,7 @@ xilinx_intc_create(target_phys_addr_t base, qemu_irq ir= q, int kind_of_intr) > { > DeviceState *dev; > =20 > - dev =3D qdev_create(NULL, "xilinx,intc"); > + dev =3D qdev_create(NULL, "xlnx.xps-intc"); > qdev_prop_set_uint32(dev, "kind-of-intr", kind_of_intr); > qdev_init_nofail(dev); > sysbus_mmio_map(sysbus_from_qdev(dev), 0, base); > diff --git a/hw/xilinx_intc.c b/hw/xilinx_intc.c > index 553f848..386fd30 100644 > --- a/hw/xilinx_intc.c > +++ b/hw/xilinx_intc.c > @@ -156,7 +156,7 @@ static int xilinx_intc_init(SysBusDevice *dev) > qdev_init_gpio_in(&dev->qdev, irq_handler, 32); > sysbus_init_irq(dev, &p->parent_irq); > =20 > - memory_region_init_io(&p->mmio, &pic_ops, p, "xilinx-pic", R_MAX *= 4); > + memory_region_init_io(&p->mmio, &pic_ops, p, "xlnx.xps-intc", R_MA= X * 4); > sysbus_init_mmio(dev, &p->mmio); > return 0; > } > @@ -176,7 +176,7 @@ static void xilinx_intc_class_init(ObjectClass *kla= ss, void *data) > } > =20 > static TypeInfo xilinx_intc_info =3D { > - .name =3D "xilinx,intc", > + .name =3D "xlnx.xps-intc", > .parent =3D TYPE_SYS_BUS_DEVICE, > .instance_size =3D sizeof(struct xlx_pic), > .class_init =3D xilinx_intc_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