From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:51979) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QrXmp-0004V8-FZ for qemu-devel@nongnu.org; Thu, 11 Aug 2011 12:07:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QrXml-0001bc-Ln for qemu-devel@nongnu.org; Thu, 11 Aug 2011 12:07:11 -0400 Received: from mail.mc.net ([209.172.128.24]:43861) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QrXml-0001bO-Fu for qemu-devel@nongnu.org; Thu, 11 Aug 2011 12:07:07 -0400 Message-ID: <4E43FF4E.7080501@mc.net> Date: Thu, 11 Aug 2011 11:11:58 -0500 From: Bob Breuer MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] sparc32_dma: correctly initialize ledma base address List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel Cc: Blue Swirl The ledma base address defaults to 0xff000000 on reset. This fixes a bug with Solaris and SS-20 OBP when boot net is skipped. Signed-off-by: Bob Breuer --- diff --git a/hw/sparc32_dma.c b/hw/sparc32_dma.c index e75694b..61812fb 100644 --- a/hw/sparc32_dma.c +++ b/hw/sparc32_dma.c @@ -252,6 +252,9 @@ static void dma_reset(DeviceState *d) memset(s->dmaregs, 0, DMA_SIZE); s->dmaregs[0] = DMA_VER; + if (s->is_ledma) { + s->dmaregs[3] = 0xff000000; + } } static const VMStateDescription vmstate_dma = {