From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JcR5y-00018u-Fw for qemu-devel@nongnu.org; Thu, 20 Mar 2008 16:10:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JcR5t-00016q-GU for qemu-devel@nongnu.org; Thu, 20 Mar 2008 16:10:37 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JcR5t-00016X-6j for qemu-devel@nongnu.org; Thu, 20 Mar 2008 16:10:33 -0400 Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1JcR5s-0000V7-PS for qemu-devel@nongnu.org; Thu, 20 Mar 2008 16:10:33 -0400 Message-ID: <011601c88ac6$700a9ac0$0201a8c0@zeug> From: "Sebastian Herbszt" Date: Thu, 20 Mar 2008 21:08:16 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH] Add missing initial values for PIIX3 function 0 (PIRQRC) 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 According to the 82371SB (PIIX3) specification (290550-002) 2.2.10. PIRQRC[A:D]-PIRQx ROUTE CONTROL REGISTERS (Function 0) all four registers (60h - 63h) should have the initial value of 80h. Add the missing initial value for registers 61h - 63h. - Sebastian diff -urp qemu.orig/hw/piix_pci.c qemu/hw/piix_pci.c --- qemu.orig/hw/piix_pci.c 2008-03-20 18:38:49.000000000 +0100 +++ qemu/hw/piix_pci.c 2008-03-20 18:39:53.000000000 +0100 @@ -249,6 +249,9 @@ static void piix3_reset(PCIDevice *d) pci_conf[0x4e] = 0x03; pci_conf[0x4f] = 0x00; pci_conf[0x60] = 0x80; + pci_conf[0x61] = 0x80; + pci_conf[0x62] = 0x80; + pci_conf[0x63] = 0x80; pci_conf[0x69] = 0x02; pci_conf[0x70] = 0x80; pci_conf[0x76] = 0x0c;