From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:33148) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfUll-0003i3-Fx for qemu-devel@nongnu.org; Fri, 15 Jun 2012 07:32:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SfUlj-0000fs-Ol for qemu-devel@nongnu.org; Fri, 15 Jun 2012 07:32:49 -0400 Received: from cantor2.suse.de ([195.135.220.15]:39878 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfUlj-0000fm-FS for qemu-devel@nongnu.org; Fri, 15 Jun 2012 07:32:47 -0400 Message-ID: <4FDB1D5A.9000302@suse.de> Date: Fri, 15 Jun 2012 13:32:42 +0200 From: =?ISO-8859-15?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v2 01/11] xilinx_uartlite: 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-uartlite. This is the exact name of the= device > in the xilinx EDK development tools. >=20 > Signed-off-by: Peter A. G. Crosthwaite Dito. /-F > --- > hw/petalogix_s3adsp1800_mmu.c | 2 +- > hw/xilinx_uartlite.c | 5 +++-- > 2 files changed, 4 insertions(+), 3 deletions(-) >=20 > diff --git a/hw/petalogix_s3adsp1800_mmu.c b/hw/petalogix_s3adsp1800_mm= u.c > index f41c559..7d83c21 100644 > --- a/hw/petalogix_s3adsp1800_mmu.c > +++ b/hw/petalogix_s3adsp1800_mmu.c > @@ -104,7 +104,7 @@ petalogix_s3adsp1800_init(ram_addr_t ram_size, > irq[i] =3D qdev_get_gpio_in(dev, i); > } > =20 > - sysbus_create_simple("xilinx,uartlite", UARTLITE_BASEADDR, irq[3])= ; > + sysbus_create_simple("xlnx.xps-uartlite", UARTLITE_BASEADDR, irq[3= ]); > /* 2 timers at irq 2 @ 62 Mhz. */ > xilinx_timer_create(TIMER_BASEADDR, irq[0], 2, 62 * 1000000); > xilinx_ethlite_create(&nd_table[0], ETHLITE_BASEADDR, irq[1], 0, 0= ); > diff --git a/hw/xilinx_uartlite.c b/hw/xilinx_uartlite.c > index aa0170d..d0f32db 100644 > --- a/hw/xilinx_uartlite.c > +++ b/hw/xilinx_uartlite.c > @@ -202,7 +202,8 @@ static int xilinx_uartlite_init(SysBusDevice *dev) > sysbus_init_irq(dev, &s->irq); > =20 > uart_update_status(s); > - memory_region_init_io(&s->mmio, &uart_ops, s, "xilinx-uartlite", R= _MAX * 4); > + memory_region_init_io(&s->mmio, &uart_ops, s, "xlnx.xps-uartlite", > + R_MAX = * 4); > sysbus_init_mmio(dev, &s->mmio); > =20 > s->chr =3D qemu_char_get_next_serial(); > @@ -219,7 +220,7 @@ static void xilinx_uartlite_class_init(ObjectClass = *klass, void *data) > } > =20 > static TypeInfo xilinx_uartlite_info =3D { > - .name =3D "xilinx,uartlite", > + .name =3D "xlnx.xps-uartlite", > .parent =3D TYPE_SYS_BUS_DEVICE, > .instance_size =3D sizeof (struct xlx_uartlite), > .class_init =3D xilinx_uartlite_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