[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] Change the 82371SB PCI-to-ISA bridge into a 82371EB
From: |
Aurelien Jarno |
Subject: |
[Qemu-devel] [PATCH] Change the 82371SB PCI-to-ISA bridge into a 82371EB |
Date: |
Tue, 9 Jan 2007 16:44:51 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
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
`. `' address@hidden | address@hidden
`- people.debian.org/~aurel32 | www.aurel32.net
- [Qemu-devel] [PATCH] Change the 82371SB PCI-to-ISA bridge into a 82371EB,
Aurelien Jarno <=