From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H4J9Z-0000z6-9x for qemu-devel@nongnu.org; Tue, 09 Jan 2007 10:44:45 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H4J9W-0000wP-5P for qemu-devel@nongnu.org; Tue, 09 Jan 2007 10:44:44 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H4J9V-0000wC-Sa for qemu-devel@nongnu.org; Tue, 09 Jan 2007 10:44:41 -0500 Received: from [82.232.2.251] (helo=mail.aurel32.net) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1H4J9V-0004Wg-7C for qemu-devel@nongnu.org; Tue, 09 Jan 2007 10:44:41 -0500 Received: from farad.aurel32.net ([2001:618:400:fc13:216:3eff:fe00:100c]) by mail.aurel32.net with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1H4J9g-0004Vy-0b for qemu-devel@nongnu.org; Tue, 09 Jan 2007 16:44:52 +0100 Received: from aurel32 by farad.aurel32.net with local (Exim 4.63) (envelope-from ) id 1H4J9f-0001TB-SU for qemu-devel@nongnu.org; Tue, 09 Jan 2007 16:44:51 +0100 Date: Tue, 9 Jan 2007 16:44:51 +0100 From: Aurelien Jarno Message-ID: <20070109154451.GC5603@farad.aurel32.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Subject: [Qemu-devel] [PATCH] Change the 82371SB PCI-to-ISA bridge into a 82371EB 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 patch changes the 82371SB PCI-to-ISA bridge into a 82371EB. There are no differences in the implementation, but the Malta platform needs this device as there are some PCI fixup in the Linux kernel. This should be supported without problem by the i386 and x86_64 targets as there is no standard PC hardware. Note that the ACPI controller implemented in QEMU is already a 82371EB. diff -Nurd qemu/hw/piix_pci.c qemu/hw/piix_pci.c --- qemu/hw/piix_pci.c 2006-12-26 16:01:05.000000000 +0100 +++ qemu/hw/piix_pci.c 2006-12-26 16:37:25.000000000 +0100 @@ -287,8 +287,8 @@ pci_conf[0x00] = 0x86; // Intel pci_conf[0x01] = 0x80; - pci_conf[0x02] = 0x00; // 82371SB PIIX3 PCI-to-ISA bridge (Step A1) - pci_conf[0x03] = 0x70; + pci_conf[0x02] = 0x10; // 82371AB/EB/MB PIIX4 PCI-to-ISA bridge + pci_conf[0x03] = 0x71; pci_conf[0x0a] = 0x01; // class_sub = PCI_ISA pci_conf[0x0b] = 0x06; // class_base = PCI_bridge pci_conf[0x0e] = 0x80; // header_type = PCI_multifunction, generic -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' aurel32@debian.org | aurelien@aurel32.net `- people.debian.org/~aurel32 | www.aurel32.net