qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] Change the 82371SB PCI-to-ISA bridge into a 82371EB
@ 2007-01-09 15:44 Aurelien Jarno
  2007-01-09 18:03 ` [Qemu-devel] [PATCH] Change the 82371SB PCI-to-ISA bridge into a82371EB Alexander Voropay
  0 siblings, 1 reply; 5+ messages in thread
From: Aurelien Jarno @ 2007-01-09 15:44 UTC (permalink / raw)
  To: qemu-devel

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-01-11 22:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-09 15:44 [Qemu-devel] [PATCH] Change the 82371SB PCI-to-ISA bridge into a 82371EB Aurelien Jarno
2007-01-09 18:03 ` [Qemu-devel] [PATCH] Change the 82371SB PCI-to-ISA bridge into a82371EB Alexander Voropay
2007-01-10  0:54   ` Aurelien Jarno
2007-01-11 20:00     ` Fabrice Bellard
2007-01-11 22:13       ` Aurelien Jarno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).