Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DR8mW-0001Wo-RO for qemu-devel@nongnu.org; Thu, 28 Apr 2005 09:10:17 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DR8mU-0001WQ-JB for qemu-devel@nongnu.org; Thu, 28 Apr 2005 09:10:15 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DR8mU-0001NS-4s for qemu-devel@nongnu.org; Thu, 28 Apr 2005 09:10:14 -0400 Received: from [62.49.18.88] (helo=eridanilinux.demon.co.uk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DR8p5-0007HT-0d for qemu-devel@nongnu.org; Thu, 28 Apr 2005 09:12:55 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) by eridanilinux.demon.co.uk (8.11.6p2/8.11.6) with ESMTP id j3SD8dk24125 for ; Thu, 28 Apr 2005 14:08:40 +0100 Message-ID: <4270D29F.2060005@eridani.co.uk> Date: Thu, 28 Apr 2005 13:10:07 +0100 From: Michael McConnell MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] QEMU 0.7.0 - IDE patch for Solaris-X86 Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org This is a forward-port of the patch for 0.6.1 (that I found on the web, may have been this list, a while back) needed to get Solaris-X86 to run with the IDE interface in PCI mode. --- qemu-0.7.0/hw/ide.c.orig 2005-04-27 21:52:05.000000000 +0100 +++ qemu-0.7.0/hw/ide.c 2005-04-28 08:32:59.000000000 +0100 @@ -500,6 +500,8 @@ static inline void ide_set_irq(IDEState *s) { if (!(s->cmd & IDE_CMD_DISABLE_IRQ)) { + BMDMAState *bm = s->bmdma; + if(bm) bm->status |= BM_STATUS_INT; #ifdef TARGET_PPC if (s->openpic) openpic_set_irq(s->openpic, s->irq, 1); -- -- Michael "Soruk" McConnell Eridani Star System MailStripper - "The easy spam filter" http://mailstripper.eridani.co.uk/